blob: afba0f83b31ab28f9a03d46bd7e9f874d526f213 [file] [log] [blame]
// P0634R3
// { dg-do compile { target c++20 } }
template<typename T>
struct S {
static int foo ();
};
template<typename T>
int
f ()
{
return S<T>::foo();
}
void
test ()
{
f<int>();
}