aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2008-09-02-FunctionNotes.ll
blob: ba886b1a01046b00bf9cda21e750965144680b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; Test function notes
; RUN: llvm-as < %s | llvm-dis | grep inline | count 2

define void @fn1() notes(inline=always) {
  ret void
}

define void @fn2() notes(inline=never) {
  ret void
}

define void @fn3() {
  ret void
}