Merge trunk version 201119 into gupc branch.
[official-gcc.git] / gcc / testsuite / objc.dg / missing-proto-2.m
blobcb121b496e95846e539e46c323c20a203acaa13f
1 /* Test for graceful handling of missing protocol declarations.  */
2 /* Author: Ziemowit Laski <zlaski@apple.com>.  */
3 /* { dg-do compile } */
5 void *protRef = @protocol(Missing); /* { dg-error "cannot find protocol declaration for .Missing." } */