Function notes tests.
[oota-llvm.git] / test / Assembler / 2008-09-02-FunctionNotes2.ll
diff --git a/test/Assembler/2008-09-02-FunctionNotes2.ll b/test/Assembler/2008-09-02-FunctionNotes2.ll
new file mode 100644 (file)
index 0000000..7740bdd
--- /dev/null
@@ -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
+}
+