2017-10-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/82230
* g++.dg/cpp1y/lambda-generic-ice8.C: New.
From-SVN: r253631
+2017-10-11 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/82230
+ * g++.dg/cpp1y/lambda-generic-ice8.C: New.
+
2017-10-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/81299
--- /dev/null
+// PR c++/82230
+// { dg-do compile { target c++14 } }
+
+template <class>
+ struct c
+ {
+ template <class>
+ void f()
+ {
+ [](auto) { auto x = [] {}; }(0);
+ }
+};
+int main()
+{
+ c<int>{}.f<int>();
+}