-; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | grep 'tail call void %foo'
+; RUN: opt < %s -tailcallelim -S | \
+; RUN: grep "tail call void @foo"
-declare void %foo()
+declare void @foo()
-void %bar() {
- call void %foo()
+define void @bar() {
+ call void @foo( )
ret void
}
-