view gcc/testsuite/g++.dg/parse/error62.C @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

// PR c++/68265

int main()
{
  int (*) {} // { dg-error "expected primary-expression" }
         any amount of syntactic nonsense // { dg-error "not declared in this scope" }
         on multiple lines, with *punctuation* and ++operators++ even...
         will be silently discarded
         until the next close brace
}