aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll')
-rw-r--r--test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll13
1 files changed, 5 insertions, 8 deletions
diff --git a/test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll b/test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll
index 6158b2f..ebb1c0f 100644
--- a/test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll
+++ b/test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll
@@ -1,10 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+; RUN: llvm-as < %s | llc -march=c
-
-
-implementation
-
-void %test() {
- %X = alloca [4xint]
- ret void
+define void @test() {
+ %X = alloca [4 x i32] ; <[4 x i32]*> [#uses=0]
+ ret void
}
+