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