From a44f445d2ce16e54773c90dde6b1156a30cb7605 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 10 Dec 2004 05:27:14 +0000 Subject: [PATCH] Simple testcase for quoted label. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18740 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/escaped_label.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Feature/escaped_label.ll diff --git a/test/Feature/escaped_label.ll b/test/Feature/escaped_label.ll new file mode 100644 index 00000000000..4e46e8766c2 --- /dev/null +++ b/test/Feature/escaped_label.ll @@ -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 +}