blob: 447b149b80cad52c62f3cd4aa28343fa180ccd5a [file] [log] [blame]
// { dg-do compile { target c++20 } }
// { dg-additional-options "-fconcepts-ts" }
#include <type_traits>
template <class T, class U>
concept bool Same = std::is_same<T, U>::value;
struct test {
template <Same<int>... Ints>
void func(Ints... ints) {}
};
int main()
{
test t;
t.func(1, 2, 3);
}