YouCompleteMe/cpp/llvm/test/Linker/module-flags-2-a.ll

11 lines
282 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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 }