blob: a871079e5de10491df23a36af88edeae305d29c9 [file] [log] [blame]
// PR c++/93207
// { dg-do compile { target concepts } }
template <typename... Args>
concept C = true;
struct S
{
template <typename... Args>
void f()
requires C<Args...>;
};
template <typename... Args>
void S::f()
requires C<Args...>
{
}
void foo()
{
S s;
s.f<>();
s.f<int>();
s.f<int, char>();
}