view test/Assembler/2008-09-29-RetAttr.ll @ 107:a03ddd01be7e

resolve warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 31 Jan 2016 17:34:49 +0900
parents 54457678186b
children
line wrap: on
line source

; 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
}