Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / codeview-merging-cycle.test
blobb7c63c84392785692372994f9deff5ef86155eb5
1 ; RUN: not llvm-readobj --codeview-merged-types %S/Inputs/codeview-cycle.obj 2>&1 | FileCheck %s
3 ; CHECK: error{{.*}} Input type graph contains cycles
5 ; To reproduce codeview-cycle.obj:
6 ; $ cat codeview-cycle.asm
7 ;       .model  flat, C
8 ;       .code
9 ; pfoo_list TYPEDEF PTR foo_list
10 ; foo_list STRUCT
11 ;       next pfoo_list ?
12 ;       data dd ?
13 ; foo_list ENDS
14 ;       public  foo
15 ; foo proc dst:ptr foo_list
16 ;       ret
17 ; foo   endp
18 ;       end
19 ; $ ml -c -Zi codeview-cycle.asm