Debian Codegraph @

gcc/testsuite/g++.dg/parse/error62.C

raw
1 // PR c++/68265
2
3 int main()
4 {
5 int (*) {} // { dg-error "expected primary-expression" }
6 any amount of syntactic nonsense // { dg-error "not declared in this scope" }
7 on multiple lines, with *punctuation* and ++operators++ even...
8 will be silently discarded
9 until the next close brace
10 }