diff options
Diffstat (limited to 'test/SemaObjCXX/protocol-lookup.mm')
-rw-r--r-- | test/SemaObjCXX/protocol-lookup.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjCXX/protocol-lookup.mm b/test/SemaObjCXX/protocol-lookup.mm index bd8444c..e8abf6c 100644 --- a/test/SemaObjCXX/protocol-lookup.mm +++ b/test/SemaObjCXX/protocol-lookup.mm @@ -52,5 +52,5 @@ void rdar8575095(id a) { [id<NSObject>(a) retain]; id<NSObject> x(id<NSObject>(0)); - id<NSObject> x2(id<NSObject>(y)); // expected-warning{{parentheses were disambiguated as a function declarator}} + id<NSObject> x2(id<NSObject>(y)); // expected-warning{{disambiguated as a function declaration}} expected-note{{add a pair of parentheses}} } |