diff options
Diffstat (limited to 'test/SemaObjC/protocol-archane.m')
-rw-r--r-- | test/SemaObjC/protocol-archane.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaObjC/protocol-archane.m b/test/SemaObjC/protocol-archane.m index 108a729..138c43d 100644 --- a/test/SemaObjC/protocol-archane.m +++ b/test/SemaObjC/protocol-archane.m @@ -5,6 +5,7 @@ - (void) bar; @end +void bar(); void foo(id x) { bar((short<SomeProtocol>)x); // expected-error {{expected ')'}} expected-note {{to match this '('}} bar((<SomeProtocol>)x); // expected-warning {{protocol qualifiers without 'id' is archaic}} |