aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/2008-09-02-FunctionNotes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2008-09-02-FunctionNotes.ll')
-rw-r--r--test/Assembler/2008-09-02-FunctionNotes.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Assembler/2008-09-02-FunctionNotes.ll b/test/Assembler/2008-09-02-FunctionNotes.ll
new file mode 100644
index 0000000000..2751b6419d
--- /dev/null
+++ b/test/Assembler/2008-09-02-FunctionNotes.ll
@@ -0,0 +1,11 @@
+; Test function notes
+; RUN: llvm-as < %s -f -o /dev/null
+
+define void @fn1() notes(inline=always) {
+ ret void
+}
+
+define void @fn2() notes(inline=never) {
+ ret void
+}
+