From 34b2e931cda38acd404226ce13fa4c2e3e2ceffb Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Sun, 24 Feb 2019 23:44:11 +0000 Subject: [PATCH] re PR c++/84585 (internal compiler error: in get_local_decls, at cp/name-lookup.c:3654) 2019-02-24 Paolo Carlini PR c++/84585 * g++.dg/cpp0x/pr84585.C: New. From-SVN: r269180 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp0x/pr84585.C | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp0x/pr84585.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 624382c64bd..e55b591a8b0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-24 Paolo Carlini + + PR c++/84585 + * g++.dg/cpp0x/pr84585.C: New. + 2019-02-24 Thomas Koenig PR fortran/89174 diff --git a/gcc/testsuite/g++.dg/cpp0x/pr84585.C b/gcc/testsuite/g++.dg/cpp0x/pr84585.C new file mode 100644 index 00000000000..1e50f5356c5 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/pr84585.C @@ -0,0 +1,3 @@ +// { dg-do compile { target c++11 } } + +template void b() {[](auto = template <;{a c(auto){}}} // { dg-error "" } -- 2.30.2