Read and write function notes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55657 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Assembler/2008-09-02-FunctionNotes.ll b/test/Assembler/2008-09-02-FunctionNotes.ll
index 2751b64..ba886b1 100644
--- a/test/Assembler/2008-09-02-FunctionNotes.ll
+++ b/test/Assembler/2008-09-02-FunctionNotes.ll
@@ -1,5 +1,5 @@
 ; Test function notes
-; RUN: llvm-as < %s -f -o /dev/null
+; RUN: llvm-as < %s | llvm-dis | grep inline | count 2
 
 define void @fn1() notes(inline=always) {
   ret void
@@ -9,3 +9,6 @@
   ret void
 }
 
+define void @fn3() {
+  ret void
+}