llvm-6502/test/Feature/mdnode2.ll
Devang Patel 923078c65d Support stand alone metadata syntax.
!0 = constant metadata !{i32 21, i32 22}
@llvm.blah = constant metadata !{i32 1000, i16 200, metadata !0}



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74630 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-01 19:21:12 +00:00

8 lines
419 B
LLVM

; RUN: llvm-as < %s | llvm-dis > %t.ll
; RUN: grep "!0 = constant metadata !{i32 21, i32 22}" %t.ll
; RUN: grep "!1 = constant metadata !{i32 23, i32 24}" %t.ll
; RUN: grep "@llvm.blah = constant metadata !{i32 1000, i16 200, metadata !1, metadata !0}" %t.ll
!0 = constant metadata !{i32 21, i32 22}
!1 = constant metadata !{i32 23, i32 24}
@llvm.blah = constant metadata !{i32 1000, i16 200, metadata !1, metadata !0}