mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 06:29:45 +00:00
15 lines
507 B
LLVM
15 lines
507 B
LLVM
|
; RUN: llvm-link %s %p/module-flags-3-b.ll -S -o - | sort | FileCheck %s
|
||
|
|
||
|
; Test 'require' behavior.
|
||
|
|
||
|
; CHECK: !0 = metadata !{i32 1, metadata !"foo", i32 37}
|
||
|
; CHECK: !1 = metadata !{i32 3, metadata !"foo", metadata !2}
|
||
|
; CHECK: !2 = metadata !{metadata !"bar", i32 42}
|
||
|
; CHECK: !3 = metadata !{i32 1, metadata !"bar", i32 42}
|
||
|
; CHECK: !llvm.module.flags = !{!0, !1, !3}
|
||
|
|
||
|
!0 = metadata !{ i32 1, metadata !"foo", i32 37 }
|
||
|
!1 = metadata !{ i32 1, metadata !"bar", i32 42 }
|
||
|
|
||
|
!llvm.module.flags = !{ !0, !1 }
|