summaryrefslogtreecommitdiff
path: root/test/Assembler/2008-09-02-FunctionNotes2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2008-09-02-FunctionNotes2.ll')
-rw-r--r--test/Assembler/2008-09-02-FunctionNotes2.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Assembler/2008-09-02-FunctionNotes2.ll b/test/Assembler/2008-09-02-FunctionNotes2.ll
new file mode 100644
index 0000000000000..dbe75be700b7e
--- /dev/null
+++ b/test/Assembler/2008-09-02-FunctionNotes2.ll
@@ -0,0 +1,6 @@
+; Test function notes
+; RUN: not llvm-as %s -o /dev/null -f |& grep "Attributes noinline alwaysinline are incompatible"
+define void @fn1() alwaysinline noinline {
+ ret void
+}
+