summaryrefslogtreecommitdiff
path: root/test/Linker/2008-07-06-AliasFnDecl2.ll
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-07-05 23:03:46 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-07-05 23:03:46 +0000
commite56ac813e69450e6b1c7c0a52e21e5a1735e91f6 (patch)
treedccc81f05b1662caf1cf0d5548e348fd36bc8e79 /test/Linker/2008-07-06-AliasFnDecl2.ll
parent194c2cef8a0036dd4e6295d048f37d6130f92389 (diff)
downloadllvm-e56ac813e69450e6b1c7c0a52e21e5a1735e91f6.tar.gz
llvm-e56ac813e69450e6b1c7c0a52e21e5a1735e91f6.tar.bz2
llvm-e56ac813e69450e6b1c7c0a52e21e5a1735e91f6.tar.xz
Testcase for PR2146
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/2008-07-06-AliasFnDecl2.ll')
-rw-r--r--test/Linker/2008-07-06-AliasFnDecl2.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Linker/2008-07-06-AliasFnDecl2.ll b/test/Linker/2008-07-06-AliasFnDecl2.ll
new file mode 100644
index 0000000000..2380dffff6
--- /dev/null
+++ b/test/Linker/2008-07-06-AliasFnDecl2.ll
@@ -0,0 +1,13 @@
+; This file is used by 2008-07-06-AliasFnDecl2.ll
+; RUN: true
+
+define void @c() nounwind {
+entry:
+ call void @b( ) nounwind
+ br label %return
+
+return:
+ ret void
+}
+
+declare void @b()