mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-06 10:58:44 +00:00
986b92fd8e
llvm-svn: 216022
15 lines
273 B
LLVM
15 lines
273 B
LLVM
; Test return attributes
|
|
; RUN: llvm-as < %s | llvm-dis | grep "define inreg i32"
|
|
; RUN: llvm-as < %s | llvm-dis | grep "call inreg i32"
|
|
; RUN: verify-uselistorder %s
|
|
|
|
define inreg i32 @fn1() {
|
|
ret i32 0
|
|
}
|
|
|
|
define void @fn2() {
|
|
%t = call inreg i32 @fn1()
|
|
ret void
|
|
}
|
|
|