llvm-for-llvmta/test/Linker/module-flags-2-a.ll

11 lines
246 B
LLVM
Raw Normal View History

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