1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/Assembler/2002-07-25-ParserAssertionFailure.llx

14 lines
295 B
Plaintext
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 {No arguments}
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
}