re PR c++/84585 (internal compiler error: in get_local_decls, at cp/name-lookup.c...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 24 Feb 2019 23:44:11 +0000 (23:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 24 Feb 2019 23:44:11 +0000 (23:44 +0000)
2019-02-24  Paolo Carlini  <paolo.carlini@oracle.com>

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

From-SVN: r269180

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr84585.C [new file with mode: 0644]

index 624382c64bd1accae316232fc66a837730dbf573..e55b591a8b02722a23404b91b00d175ce12e8fc0 100644 (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
diff --git a/gcc/testsuite/g++.dg/cpp0x/pr84585.C b/gcc/testsuite/g++.dg/cpp0x/pr84585.C
new file mode 100644 (file)
index 0000000..1e50f53
--- /dev/null
@@ -0,0 +1,3 @@
+// { dg-do compile { target c++11 } }
+
+template <typename a> void b() {[](auto = template <;{a c(auto){}}}  // { dg-error "" }