diff options
Diffstat (limited to 'test/SemaObjCXX/references.mm')
-rw-r--r-- | test/SemaObjCXX/references.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SemaObjCXX/references.mm b/test/SemaObjCXX/references.mm index 15033f6..3a52200 100644 --- a/test/SemaObjCXX/references.mm +++ b/test/SemaObjCXX/references.mm @@ -9,7 +9,7 @@ typedef struct { @interface A @property (assign) T p0; -@property (assign) T& p1; // expected-error {{property of reference type is not supported}} +@property (assign) T& p1; @end int f0(const T& t) { @@ -21,7 +21,7 @@ int f1(A *a) { } int f2(A *a) { - return f0(a.p1); // expected-error {{property 'p1' not found on object of type 'A *'}} + return f0(a.p1); } // PR7740 @@ -37,7 +37,7 @@ void f4(NSString &tmpstr) { @protocol P2 @end @protocol P3 @end @interface foo<P1> {} @end -@interface bar : foo <P1, P2> {} @end +@interface bar : foo <P1, P2, P3> {} @end typedef bar baz; struct ToBar { |