summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r--clang/test/CodeGen/attr-forcesizeopt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/attr-forcesizeopt.c b/clang/test/CodeGen/attr-forcesizeopt.c
index c4e6c4ad817..693e7ccbade 100644
--- a/clang/test/CodeGen/attr-forcesizeopt.c
+++ b/clang/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
+}
OpenPOWER on IntegriCloud