summaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/bad-forward-decl.mm
blob: e16db7e52cafbb7aac51729197ea0265585919d4 (plain)
1
2
3
class TestCPP { }; 	/* { dg-error "previous declaration of" } */

@class TestCPP;		/* { dg-error "redeclared as different kind of symbol" } */