Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/objc.dg/missing-proto-2.m @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* Test for graceful handling of missing protocol declarations. */ /* Author: Ziemowit Laski <zlaski@apple.com>. */ /* { dg-do compile } */ void *protRef = @protocol(Missing); /* { dg-error "cannot find protocol declaration for .Missing." } */