diff options
Diffstat (limited to 'test/CodeGen/CBackend/2003-06-01-NullPointerType.ll')
-rw-r--r-- | test/CodeGen/CBackend/2003-06-01-NullPointerType.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/CBackend/2003-06-01-NullPointerType.ll b/test/CodeGen/CBackend/2003-06-01-NullPointerType.ll index 224ba15..6b7f9f0 100644 --- a/test/CodeGen/CBackend/2003-06-01-NullPointerType.ll +++ b/test/CodeGen/CBackend/2003-06-01-NullPointerType.ll @@ -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 } + |