blob: 8e3d34a7b8f926212a6294bbece3e9726c2076b8 [file] [log] [blame]
// { dg-do compile { target c++14 } }
// { dg-final { scan-assembler "_ZN1X1xIiEE" } }
struct X
{
template <class T> static T x;
};
template <class T>
T X::x = T();
int main()
{
int x = X::x<int>;
}