mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 15:48:38 +00:00
bc10247769
as on functions. Make it verify invokes and not just ordinary calls. As a (desired) side-effect, it is no longer legal to have call attributes on arguments that are being passed to the varargs part of a varargs function (llvm-as drops them on the floor anyway). llvm-svn: 45286
11 lines
152 B
LLVM
11 lines
152 B
LLVM
; RUN: not llvm-as < %s
|
|
|
|
declare void @foo(i8*)
|
|
|
|
define void @bar() {
|
|
invoke void @foo(i8* signext null)
|
|
to label %r unwind label %r
|
|
r:
|
|
ret void
|
|
}
|