diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/parse/error23.C')
-rw-r--r-- | gcc/testsuite/g++.dg/parse/error23.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/parse/error23.C b/gcc/testsuite/g++.dg/parse/error23.C new file mode 100644 index 000000000..9c19b562c --- /dev/null +++ b/gcc/testsuite/g++.dg/parse/error23.C @@ -0,0 +1,9 @@ +// { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" } +// PR c++/19149 + +struct QChar { + QChar( char c ); + QChar( const QChar& c ); + //following column number is not accurate enough but will make it for now + static const ; // { dg-error "10:declaration does not declare anything" } +}; |