summaryrefslogtreecommitdiff
path: root/test/Feature/forceoptsize_attr.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/forceoptsize_attr.ll')
-rw-r--r--test/Feature/forceoptsize_attr.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Feature/forceoptsize_attr.ll b/test/Feature/forceoptsize_attr.ll
new file mode 100644
index 0000000000..89f2a5fcd8
--- /dev/null
+++ b/test/Feature/forceoptsize_attr.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llvm-dis | FileCheck %s
+
+define void @test1() forcesizeopt {
+; CHECK: define void @test1() forcesizeopt
+ ret void
+}
+