PR c++/68265
* g++.dg/parse/error62.C: New test.
From-SVN: r272525
+2019-06-20 Marek Polacek <polacek@redhat.com>
+
+ PR c++/68265
+ * g++.dg/parse/error62.C: New test.
+
2019-06-20 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/86587
--- /dev/null
+// 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
+}