YouCompleteMe/cpp/llvm/test/Linker/module-flags-2-a.ll
2012-07-05 17:51:06 -07:00

11 lines
282 B
LLVM

; RUN: llvm-link %s %p/module-flags-2-b.ll -S -o - | sort | FileCheck %s
; Test the 'override' behavior.
; CHECK: !0 = metadata !{i32 4, metadata !"foo", i32 37}
; CHECK: !llvm.module.flags = !{!0}
!0 = metadata !{ i32 1, metadata !"foo", i32 927 }
!llvm.module.flags = !{ !0 }