OSDN Git Service

2005-03-21 Paolo Carlini <pcarlini@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / crash25.C
1 // PR c++/20536
2 // Found by Wolfgang Wieser 03/2005.
3 // { dg-do compile }
4  
5 struct yyguts_t 
6
7   class TestScanner* yyextra_r; // { dg-error "forward declaration" }
8 }; 
9     
10 TestScanner::TestScanner() {} // { dg-error "invalid use" }