2015-11-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67238
* g++.dg/cpp0x/pr67238.C: New.
From-SVN: r230981
+2015-11-26 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/67238
+ * g++.dg/cpp0x/pr67238.C: New.
+
2015-11-26 Martin Sebor <msebor@redhat.com>
* g++.dg/pr67876.C: Remove duplicate content.
--- /dev/null
+// { dg-do compile { target c++11 } }
+// { dg-options "-g" }
+
+template<class F, class... A>
+void
+g(F&&, A&&...)
+{}
+
+template<class... A>
+auto
+h(A&&... a) -> decltype(g(0, g<decltype(a)>(a)...))
+{
+ return g([]{}, a...);
+}
+
+int
+main()
+{
+ h();
+}