Home | History | Annotate | Download | only in Assembler
      1 ; Test return attributes
      2 ; RUN: llvm-as < %s | llvm-dis | grep "define inreg i32"
      3 ; RUN: llvm-as < %s | llvm-dis | grep "call inreg i32"
      4 
      5 define inreg i32 @fn1() {
      6   ret i32 0
      7 }
      8 
      9 define void @fn2() {
     10   %t = call inreg i32 @fn1()
     11   ret void
     12 }
     13 
     14