From: Paolo Carlini Date: Sun, 24 Feb 2019 23:44:11 +0000 (+0000) Subject: re PR c++/84585 (internal compiler error: in get_local_decls, at cp/name-lookup.c... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34b2e931cda38acd404226ce13fa4c2e3e2ceffb;p=gcc.git 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 --- 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 "" }