diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-10 05:27:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-10 05:27:14 +0000 |
commit | a44f445d2ce16e54773c90dde6b1156a30cb7605 (patch) | |
tree | 4be6c7a1aca85460e5ad3f27877f8914be3707c9 /test | |
parent | 17b1afe9459e56ee1ec7b21eca0f88de87159400 (diff) | |
download | external_llvm-a44f445d2ce16e54773c90dde6b1156a30cb7605.zip external_llvm-a44f445d2ce16e54773c90dde6b1156a30cb7605.tar.gz external_llvm-a44f445d2ce16e54773c90dde6b1156a30cb7605.tar.bz2 |
Simple testcase for quoted label.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/escaped_label.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Feature/escaped_label.ll b/test/Feature/escaped_label.ll new file mode 100644 index 0000000..4e46e87 --- /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 +} |