X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2008-09-02-FunctionNotes2.ll;h=47eb011343fbe86a6fc43c58ebd6b5d690356f26;hb=115494b777b26de383bc6733e23c4efdbc3e4ad0;hp=7740bdd596c10b60614755e882a7dec02699715b;hpb=9018f569be7fc30105c00d7dd482baa67a0511d6;p=oota-llvm.git diff --git a/test/Assembler/2008-09-02-FunctionNotes2.ll b/test/Assembler/2008-09-02-FunctionNotes2.ll index 7740bdd596c..47eb011343f 100644 --- a/test/Assembler/2008-09-02-FunctionNotes2.ll +++ b/test/Assembler/2008-09-02-FunctionNotes2.ll @@ -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 2>&1 | grep "Attributes 'noinline and alwaysinline' are incompatible" +define void @fn1() alwaysinline noinline { ret void }