mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-27 22:12:47 +01:00
581280f4ca
llvm-svn: 32130
9 lines
171 B
LLVM
9 lines
171 B
LLVM
; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 2>&1 | grep "LLVM functions cannot return aggregate types"
|
|
|
|
void %test() {
|
|
call {} %foo()
|
|
ret void
|
|
}
|
|
|
|
declare {} %foo()
|