PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / init7.C
blobbb26c8f92b5d62c91a72478be4de261f857b237d
1 /* PR c++/31517. This used to ICE.  */
2 /* { dg-do compile } */
4 template<typename> struct A
6   static const int i=0;
7 };
9 template<typename T> const int A<T>::i = 0=0; /* { dg-error "duplicate initialization" } */