Fix a bug in GVN that Duncan noticed, where we potentially need to insert a
[oota-llvm.git] / test / Assembler / 2002-08-15-CastAmbiguity.ll
index 40c7b1e4591ffd5910526e65693d7bde34d30d34..267a0d33ee45ed5a7038bf2bbce6db22213bd6fb 100644 (file)
@@ -1,8 +1,6 @@
+; RUN: llvm-as < %s -o /dev/null -f
 
-
-
-void %test(int %X) {
-       call void (int)* cast (void(int) * %test to void(int) *) (int 6)
-       ret void
-
+define void @test(i32 %X) {
+        call void @test( i32 6 )
+        ret void
 }