summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/messages-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/messages-2.m')
-rw-r--r--test/CodeGenObjC/messages-2.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenObjC/messages-2.m b/test/CodeGenObjC/messages-2.m
index 2a6e3dc..05e30ab 100644
--- a/test/CodeGenObjC/messages-2.m
+++ b/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