Simple testcase for quoted label.
authorChris Lattner <sabre@nondot.org>
Fri, 10 Dec 2004 05:27:14 +0000 (05:27 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Dec 2004 05:27:14 +0000 (05:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18740 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/escaped_label.ll [new file with mode: 0644]

diff --git a/test/Feature/escaped_label.ll b/test/Feature/escaped_label.ll
new file mode 100644 (file)
index 0000000..4e46e87
--- /dev/null
@@ -0,0 +1,10 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
+
+int %foo() {
+       br label "foo"
+"foo":
+       ret int 17
+}