2017-10-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/79590
* g++.dg/cpp1y/lambda-generic-noexcept1.C: New.
From-SVN: r253369
+2017-10-02 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/79590
+ * g++.dg/cpp1y/lambda-generic-noexcept1.C: New.
+
2017-10-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/79005
--- /dev/null
+// PR c++/79590
+// { dg-do compile { target c++14 } }
+
+auto f = [](auto x) noexcept(noexcept(x)) { };
+
+int main()
+{
+ [](auto x) noexcept(noexcept(x)) { } (0);
+ [](auto) noexcept(noexcept(0)) { } (0);
+}