aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjCXX
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-11-29 03:13:49 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-11-29 03:13:49 +0000
commita70779f6b9a8135c3459bdeb1f0197b82ea0cb2a (patch)
tree5b65aee232647fda696692dd17ad5d901ccdb72d /test/SemaObjCXX
parentafb49189d6962f3636d6a93d09c0b495e94ac782 (diff)
Fix crash-on-invalid. <rdar://problem/12765391>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjCXX')
-rw-r--r--test/SemaObjCXX/properties.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjCXX/properties.mm b/test/SemaObjCXX/properties.mm
index 0783eebc11..804d6829b1 100644
--- a/test/SemaObjCXX/properties.mm
+++ b/test/SemaObjCXX/properties.mm
@@ -28,7 +28,7 @@ struct X {
- (int) z;
@end
void test2(Test2 *a) {
- auto y = a.y; // expected-error {{expected getter method not found on object of type 'Test2 *'}}
+ auto y = a.y; // expected-error {{no getter method for read from property}}
auto z = a.z;
}