aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/2008-09-02-FunctionNotes2.ll
blob: 086f58f521d8d790d97b9025969a6a50c055fa39 (plain)
1
2
3
4
5
6
7
; Test function notes
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s

; CHECK: Attributes 'noinline and alwaysinline' are incompatible
define void @fn1() alwaysinline noinline {
  ret void
}