blob: c6bd107f7a650163638bb8fc8a36f70b777cf394 [file] [log] [blame]
// PR c++/60994
// { dg-do compile }
struct s
{
static int i;
};
template <typename T>
int s()
{
return s::i; // { dg-bogus "is not a class" }
}