2017-09-13 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/68177
* g++.dg/cpp0x/lambda/lambda-68177.C: New.
From-SVN: r252732
+2017-09-13 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/68177
+ * g++.dg/cpp0x/lambda/lambda-68177.C: New.
+
2017-09-13 Martin Liska <mliska@suse.cz>
PR middle-end/82154
--- /dev/null
+// { dg-do compile { target c++11 } }
+
+void swallow(...) {}
+template<int... Is>
+void foo() {
+ int t = 0;
+ swallow(
+ ([&t]{return 0;}(), Is)...
+ );
+}
+
+int main()
+{
+ foo<1, 2>();
+ return 0;
+}