make the asmparser reject function and type redefinitions. 'Merging' hasn't been
[oota-llvm.git] / test / Assembler / 2002-05-02-ParseError.ll
index b5809a87106c10c41b2b7e9da3d2084332455df1..5a9817c1eaa8020eed875bfe2e5e5a18988fea90 100644 (file)
@@ -1,9 +1,7 @@
-; This should parse correctly without an 'implementation', but our current YACC
-; based parser doesn't have the required 2 token lookahead...
-; XFAIL 
+; RUN: llvm-as %s -o /dev/null
 
-       %T = type int *
+%T = type i32 *
 
-%T %test() {
+define %T @test() {
        ret %T null
 }