Commit 9464ed97 by Paolo Carlini Committed by Paolo Carlini

re PR c++/67656 ([concepts] matched variadics in expression constraint report as unmatched)

2018-09-26  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/67656
	* g++.dg/concepts/pr67656.C: New.

From-SVN: r264596
parent f29cfc6b
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> 2018-09-26 Eric Botcazou <ebotcazou@adacore.com>
* g++.dg/other/vthunk1.C: Rename to... * g++.dg/other/vthunk1.C: Rename to...
......
// { 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment