Modify the LLVM assembly output so that it uses references to represent function...
[oota-llvm.git] / test / Assembler / 2008-09-02-FunctionNotes.ll
1 ; Test function attributes
2 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
3
4 ; CHECK: define void @fn1() #0
5 define void @fn1() alwaysinline {
6   ret void
7 }
8
9 ; CHECK: define void @fn2() #1
10 define void @fn2() noinline {
11   ret void
12 }
13
14 ; CHECK: define void @fn3()
15 ; CHECK-NOT: define void @fn3() #{{.*}}
16 define void @fn3() {
17   ret void
18 }
19
20 ; CHECK: attributes #0 = { alwaysinline }
21 ; CHECK: attributes #1 = { noinline }