[x86] Fix disassembly of callw instruction
[oota-llvm.git] / test / Transforms / Inline / 2004-10-17-InlineFunctionWithoutReturn.ll
index 016fc5a4ab04fc88f54c8ff67de07c010bf9e728..866327f64a8f25237c6642cd0b58e392e52b61c2 100644 (file)
@@ -1,10 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -inline -disable-output
+; RUN: opt < %s -inline -disable-output
 
-int %test() {
-       unwind
+define i32 @test() {
+        unreachable
 }
 
-int %caller() {
-       %X = call int %test()
-       ret int %X
+define i32 @caller() {
+        %X = call i32 @test( )          ; <i32> [#uses=1]
+        ret i32 %X
 }
+