1 ; Test function attributes
2 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
3 ; RUN: verify-uselistorder %s
5 ; CHECK: define void @fn1() #0
6 define void @fn1() alwaysinline {
10 ; CHECK: define void @fn2() #1
11 define void @fn2() noinline {
15 ; CHECK: define void @fn3()
16 ; CHECK-NOT: define void @fn3() #{{.*}}
21 ; CHECK: attributes #0 = { alwaysinline }
22 ; CHECK: attributes #1 = { noinline }