gcc/testsuite/g++.dg/parse/error23.C
raw| 1 | // { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" } |
| 2 | // PR c++/19149 |
| 3 | |
| 4 | struct QChar { |
| 5 | QChar( char c ); |
| 6 | QChar( const QChar& c ); |
| 7 | //following column number is not accurate enough but will make it for now |
| 8 | static const ; // { dg-error "10:declaration does not declare anything" } |
| 9 | }; |