llvm/test/Assembler/2008-09-02-FunctionNotes2.ll

7 lines
185 B
LLVM

; Test function notes
; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "Attributes 'noinline and alwaysinline' are incompatible"
define void @fn1() alwaysinline noinline {
ret void
}