Fix a problem with DAGCombine on 64b targets where folding
[oota-llvm.git] / test / CodeGen / Alpha / weak.ll
1 ; RUN: llvm-as < %s | llc -march=alpha | grep .weak.*f
2 ; RUN: llvm-as < %s | llc -march=alpha | grep .weak.*h
3
4 define weak i32 @f() {
5 entry:
6         unreachable
7 }
8
9 define void @g() {
10 entry:
11         tail call void @h( )
12         ret void
13 }
14
15 declare extern_weak void @h()
16