summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/messages-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/messages-2.m')
-rw-r--r--clang/test/CodeGenObjC/messages-2.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/messages-2.m b/clang/test/CodeGenObjC/messages-2.m
index 2a6e3dcbbda..05e30ab131a 100644
--- a/clang/test/CodeGenObjC/messages-2.m
+++ b/clang/test/CodeGenObjC/messages-2.m
@@ -136,4 +136,7 @@ typedef struct {
x.height *= 2;
return x;
}
+-(const float) returnAConstFloat {
+ return 5;
+}
@end
OpenPOWER on IntegriCloud