Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

20 lines
480 B
Plaintext

; RUN: not llvm-readobj -codeview-merged-types %S/Inputs/codeview-cycle.obj 2>&1 | FileCheck %s
; CHECK: Error{{.*}} input type graph contains cycles
; To reproduce codeview-cycle.obj:
; $ cat codeview-cycle.asm
; .model flat, C
; .code
; pfoo_list TYPEDEF PTR foo_list
; foo_list STRUCT
; next pfoo_list ?
; data dd ?
; foo_list ENDS
; public foo
; foo proc dst:ptr foo_list
; ret
; foo endp
; end
; $ ml -c -Zi codeview-cycle.asm