2018-09-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67656
* g++.dg/concepts/pr67656.C: New.
From-SVN: r264596
+2018-09-26 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/67656
+ * g++.dg/concepts/pr67656.C: New.
+
2018-09-26 Eric Botcazou <ebotcazou@adacore.com>
* g++.dg/other/vthunk1.C: Rename to...
--- /dev/null
+// { dg-do compile { target c++11 } }
+// { dg-additional-options "-fconcepts" }
+
+template<class... Xs>
+void consume(Xs&&...) {}
+
+template<class... Xs>
+ struct A {
+ template<class... Ys>
+ requires requires(Ys... ys) {
+ consume(Xs{ys}...);
+ }
+ A(Ys&&... ys) {
+ }
+};
+
+int main() {
+ A<int, long> a(55, 2);
+}