Arrange to print constants that match "n" and "i" constraints
[oota-llvm.git] / test / CodeGen / CBackend / 2003-06-01-NullPointerType.ll
index 224ba151875420e31e231a30ea1808dc57f2a771..6b7f9f0d378a383a4922912664f5ff22dea1a81e 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+; RUN: llvm-as < %s | llc -march=c
 
+%X = type { i32, float }
 
-%X = type { int, float }
-
-void %test() {
-  getelementptr %X* null, long 0, uint 1
-  ret void
+define void @test() {
+        getelementptr %X* null, i64 0, i32 1            ; <float*>:1 [#uses=0]
+        ret void
 }
+