blob: 283e4e092bd1e243862a5b029fd9e2141cf4b2ce [file] [log] [blame]
template <class T>
struct S {
static int f ()
{
static int i;
return ++i;
}
S () {};
~S () {};
};
typedef S<int> a;
int g ()
{
return a::f();
}