2017-09-13 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/78648
* g++.dg/cpp0x/lambda/lambda-ice21.C: New.
From-SVN: r252829
+2017-09-13 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/78648
+ * g++.dg/cpp0x/lambda/lambda-ice21.C: New.
+
2017-09-15 Jackson Woodruff <jackson.woodruff@arm.com>
PR tree-optimization/71026
--- /dev/null
+// PR c++/78648
+// { dg-do compile { target c++11 } }
+
+template <typename F> void e(F) {}
+
+template <int> void bar() {
+ e([](const void) {}); // { dg-error "invalid use" }
+}
+
+void baz() { bar<1>; }