llvm-project/llvm/test/ObjectYAML/Offload/malformed-entry-size.yaml

16 lines
459 B
YAML

# RUN: yaml2obj %s | not obj2yaml 2>&1 | FileCheck %s
!Offload
EntrySize: 999999999
Members:
- ImageKind: IMG_Cubin
OffloadKind: OFK_OpenMP
Flags: 0
String:
- Key: "triple"
Value: "nvptx64-nvidia-cuda"
- Key: "arch"
Value: "sm_70"
Content: "deadbeef"
# CHECK: Error reading file: <stdin>: The end of the file was unexpectedly encountered