mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
13f5c5896d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216022 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
740 B
LLVM
26 lines
740 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder %s
|
|
|
|
!0 = metadata !{metadata !"zero"}
|
|
!1 = metadata !{metadata !"one"}
|
|
!2 = metadata !{metadata !"two"}
|
|
|
|
!foo = !{!0, !1, !2}
|
|
; CHECK: !foo = !{!0, !1, !2}
|
|
|
|
!\23pragma = !{!0, !1, !2}
|
|
; CHECK: !\23pragma = !{!0, !1, !2}
|
|
|
|
; \31 is the digit '1'. On emission, we escape the first character (to avoid
|
|
; conflicting with anonymous metadata), but not the subsequent ones.
|
|
!\31\31\31 = !{!0, !1, !2}
|
|
; CHECK: !\3111 = !{!0, !1, !2}
|
|
|
|
!\22name\22 = !{!0, !1, !2}
|
|
; CHECK: !\22name\22 = !{!0, !1, !2}
|
|
|
|
; \x doesn't mean anything, so we parse it literally but escape the \ into \5C
|
|
; when emitting it, followed by xfoo.
|
|
!\xfoo = !{!0, !1, !2}
|
|
; CHECK: !\5Cxfoo = !{!0, !1, !2}
|