aboutsummaryrefslogtreecommitdiff
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.ll7
1 files changed, 7 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 0000000000..7740bdd596
--- /dev/null
+++ b/test/Assembler/2008-09-02-FunctionNotes2.ll
@@ -0,0 +1,7 @@
+; Test function notes
+; RUN: not llvm-as %s |& grep "only one inline note"
+
+define void @fn1() notes(inline=always,inline=never) {
+ ret void
+}
+