Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +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