Test the C front-end, not the C++ front-end.
[oota-llvm.git] / test / Assembler / 2003-11-24-SymbolTableCrash.llx
index 912cb474af499db5e909b10c29a1bd6047e19f70..9557d291d33f4bce3bebc70f31a3bf3201c107b0 100644 (file)
@@ -1,10 +1,11 @@
-; RUN: llvm-as < %s 2>&1 | not grep Asserti
+; RUN: llvm-as < %s |& not grep Asserti
+; RUN: llvm-as < %s |& grep Redefinition
 
-void %test() {
-       %tmp.1 = add int 0, 1
+define void @test() {
+       %tmp.1 = add i32 0, 1
        br label %return
 return:
-       %tmp.1 = add int 0, 1
+       %tmp.1 = add i32 0, 1
        ret void
 }