llvm.org GIT mirror llvm / e56ac81
Testcase for PR2146 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53155 91177308-0d34-0410-b5e6-96231b3b80d8 Anton Korobeynikov 12 years ago
2 changed file(s) with 27 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; PR2146
1 ; RUN: llvm-as %s -o %t1.bc -f
2 ; RUN: llvm-as %p/2008-07-06-AliasFnDecl2.ll -o %t2.bc -f
3 ; RUN: llvm-link %t1.bc %t2.bc -f -o %t3.bc
4
5 @b = alias void ()* @a
6
7 define void @a() nounwind {
8 entry:
9 br label %return
10
11 return:
12 ret void
13 }
0 ; This file is used by 2008-07-06-AliasFnDecl2.ll
1 ; RUN: true
2
3 define void @c() nounwind {
4 entry:
5 call void @b( ) nounwind
6 br label %return
7
8 return:
9 ret void
10 }
11
12 declare void @b()