PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash19.C
bloba28827f31ac80ced0e4cffb3bdaef2c98719ee3f
1 // PR c++/15165
3 struct S 
4
5     template <class T> S(const T &e);
6 };
7 int operator *(const double, const S &); 
8 template <class T>
9 struct X { 
10     enum { SIXTY_FOUR=64 }; 
11     struct node {
12       unsigned char *ptr[sizeof(T)*SIXTY_FOUR];
13         void d() {}
14     };
15     node *head; 
17 template struct X<int>;