1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/Assembler/2002-07-25-ParserAssertionFailure.ll

14 lines
300 B
LLVM
Raw Normal View History

2002-07-25 22:52:34 +02:00
; Make sure we don't get an assertion failure, even though this is a parse
; error
; RUN: not llvm-as %s -o /dev/null -f |& grep {'@foo' defined with}
2002-07-25 22:52:34 +02:00
%ty = type void (i32)
2002-07-25 22:52:34 +02:00
declare %ty* @foo()
2002-07-25 22:52:34 +02:00
define void @test() {
call %ty* @foo( ) ; <%ty*>:0 [#uses=0]
2002-07-25 22:52:34 +02:00
ret void
}