PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / static23.C
blobb28400a64d2fb6160054ae9903babe5c8e6102eb
1 // PR c++/26266
3 template<typename> struct A
5   static const int i = 1;
6 };
8 template<typename> struct B
10   static const int j = A<char>::i;
11   static const int k = int(j);
12   int x[k];
15 B<char> b;