Fix this test to test what it was originally intended to test.
[oota-llvm.git] / test / Assembler / 2008-09-02-FunctionNotes2.ll
index 7740bdd596c10b60614755e882a7dec02699715b..8a49e8990280259fcfb5c22874a2a00911a9e652 100644 (file)
@@ -1,7 +1,6 @@
 ; Test function notes
-; RUN: not llvm-as  %s |& grep "only one inline note" 
-
-define void @fn1() notes(inline=always,inline=never) {
+; RUN: not llvm-as %s -o /dev/null |& grep "Attributes noinline alwaysinline are incompatible"
+define void @fn1() alwaysinline  noinline {
   ret void
 }