aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/attr-forcesizeopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/attr-forcesizeopt.c')
-rw-r--r--test/CodeGen/attr-forcesizeopt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/attr-forcesizeopt.c b/test/CodeGen/attr-forcesizeopt.c
index c4e6c4ad81..693e7ccbad 100644
--- a/test/CodeGen/attr-forcesizeopt.c
+++ b/test/CodeGen/attr-forcesizeopt.c
@@ -24,3 +24,8 @@ int test2() {
// OTHER-NOT: forcesizeopt
// OTHER: ret
}
+
+int test3() __attribute__((forcesizeopt)) {
+// Oz: @test3{{.*}}forcesizeopt
+// OTHER: @test3{{.*}}forcesizeopt
+}