blob: ddd069c798771f552d98950d354f251780de98d3 [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) {
}
A(int) {}
};
int main() {
A<int, double> a(55);
}