xref: /llvm-project/llvm/test/ObjectYAML/Offload/malformed-offset.yaml (revision 228c8f9cc0b2bf615706567f121a422b1b0e7f83)
1# RUN: yaml2obj %s | not obj2yaml 2>&1 | FileCheck %s
2!Offload
3EntryOffset: 999999999
4Members:
5  - ImageKind:        IMG_Cubin
6    OffloadKind:      OFK_OpenMP
7    Flags:            0
8    String:
9    - Key:              "triple"
10      Value:            "nvptx64-nvidia-cuda"
11    - Key:              "arch"
12      Value:            "sm_70"
13    Content:          "deadbeef"
14
15# CHECK: Error reading file: <stdin>: The end of the file was unexpectedly encountered
16