re PR c++/84585 (internal compiler error: in get_local_decls, at cp/name-lookup.c:3654)

2019-02-24  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/84585
	* g++.dg/cpp0x/pr84585.C: New.

From-SVN: r269180
This commit is contained in:
Paolo Carlini 2019-02-24 23:44:11 +00:00 committed by Paolo Carlini
parent 4afe82523f
commit 34b2e931cd
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2019-02-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84585
* g++.dg/cpp0x/pr84585.C: New.
2019-02-24 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/89174

View File

@ -0,0 +1,3 @@
// { dg-do compile { target c++11 } }
template <typename a> void b() {[](auto = template <;{a c(auto){}}} // { dg-error "" }