Function notes tests.

llvm-svn: 55648
diff --git a/llvm/test/Assembler/2008-09-02-FunctionNotes2.ll b/llvm/test/Assembler/2008-09-02-FunctionNotes2.ll
new file mode 100644
index 0000000..7740bdd
--- /dev/null
+++ b/llvm/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
+}
+