aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2002-08-15-CastAmbiguity.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2002-08-15-CastAmbiguity.ll')
-rw-r--r--test/Assembler/2002-08-15-CastAmbiguity.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/Assembler/2002-08-15-CastAmbiguity.ll b/test/Assembler/2002-08-15-CastAmbiguity.ll
index c44ee67..267a0d3 100644
--- a/test/Assembler/2002-08-15-CastAmbiguity.ll
+++ b/test/Assembler/2002-08-15-CastAmbiguity.ll
@@ -1,8 +1,6 @@
-; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
-
-
-void %test(int %X) {
- call void (int)* cast (void(int) * %test to void(int) *) (int 6)
- ret void
+; RUN: llvm-as < %s -o /dev/null -f
+define void @test(i32 %X) {
+ call void @test( i32 6 )
+ ret void
}