Now that LLParser, AsmWriter, BitcodeReader, and BitcodeWriter all correctly support...
[oota-llvm.git] / test / Assembler / 2002-01-24-BadSymbolTableAssert.ll
index c2a31d10841d3ed329941b4ba30af036145ba8c7..7c49e2bd99358e035bcbebf7a7fa9746c5fe0d5f 100644 (file)
@@ -1,13 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
+; RUN: llvm-as %s -o /dev/null
 
-; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in 
-; the 1.20 revision. Basically the symbol table assumed that if there was an 
-; abstract type in the symbol table, [in this case for the entry %foo of type 
-; void(opaque)* ], that there should have also been named types by now.  This 
+; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in
+; the 1.20 revision. Basically the symbol table assumed that if there was an
+; abstract type in the symbol table, [in this case for the entry %foo of type
+; void(opaque)* ], that there should have also been named types by now.  This
 ; was obviously not the case here, and this is valid.  Assertion disabled.
+       
+%bb = type i32
 
-declare void "foo"(%bb)
-%bb = type int 
-
-implementation
-
+declare void @foo(i32)