Function notes tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55648 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Assembler/2008-09-02-FunctionNotes2.ll b/test/Assembler/2008-09-02-FunctionNotes2.ll
new file mode 100644
index 0000000..7740bdd
--- /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
+}
+