blob: 3d8f9e326bf53d55f1415c46fe6955e60228a06f [file] [log] [blame]
template<typename> struct A;
template<> struct A<char>
{
static const char i = 1;
};
template<typename T> struct B
{
static const int j = A<T>::i;
static const int k = int(j);
int x[k];
};
B<char> b;