Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/Assembler/named-metadata.ll @ 107:a03ddd01be7e
resolve warnings
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 31 Jan 2016 17:34:49 +0900 |
parents | 60c9769439b8 |
children |
line wrap: on
line source
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: verify-uselistorder %s !0 = !{!"zero"} !1 = !{!"one"} !2 = !{!"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}