diff options
Diffstat (limited to 'llvm/test/Assembler/2002-05-02-ParseError.ll')
-rw-r--r-- | llvm/test/Assembler/2002-05-02-ParseError.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Assembler/2002-05-02-ParseError.ll b/llvm/test/Assembler/2002-05-02-ParseError.ll new file mode 100644 index 00000000000..d63784bd688 --- /dev/null +++ b/llvm/test/Assembler/2002-05-02-ParseError.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as %s -o /dev/null -f + +; This should parse correctly without an 'implementation', but our current YACC +; based parser doesn't have the required 2 token lookahead... + +%T = type i32 * + +define %T %test() { + ret %T null +} |