blob: 2f1030e22325d6941e170d57fc06668d2ead6aa7 [file] [log] [blame]
// { 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);
}