ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git] / gcc / testsuite / g++.dg / concepts / pr67656.C
blob2f1030e22325d6941e170d57fc06668d2ead6aa7
1 // { dg-do compile { target c++11 } }
2 // { dg-additional-options "-fconcepts" }
4 template<class... Xs>                 
5 void consume(Xs&&...) {}
7 template<class... Xs>
8   struct A {
9     template<class... Ys>
10     requires requires(Ys... ys) {
11       consume(Xs{ys}...);
12     }
13   A(Ys&&... ys) {
14   }
17 int main() {
18   A<int, long> a(55, 2);