template<typename T> struct A { static const int SZ; char r[SZ]; }; int main() { A<int> i; A<char> c; } const int A<int>::SZ=1;