summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash25.C
blob: d7f20c62f26fa21716a73662dde13abdf822acf3 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/20536
// Found by Wolfgang Wieser 03/2005.
// { dg-do compile }
 
struct yyguts_t 
{ 
  class TestScanner* yyextra_r; // { dg-error "forward declaration" }
}; 
    
TestScanner::TestScanner() {} // { dg-error "invalid use" }