Convert tests using "| wc -l | grep ..." to use the count script.
[oota-llvm.git] / test / CodeGen / X86 / extern_weak.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=i686-apple-darwin | grep weak_reference | count 2
2
3 %Y = global int (sbyte*)* %X
4 declare extern_weak int %X(sbyte*)
5
6 void %bar() {
7         tail call void (...)* %foo( )
8         ret void
9 }
10
11 declare extern_weak void %foo(...)