PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / constant1.C
bloba2c5a08d366e55b7869bf298428b60ff4ad00cc8
1 // PR c++/49855
3 extern void foo(int);
5 template <class Key, class Value> void Basic() {
6   const int kT = 1.5e6;        // <--- causes ICE
7   int size = kT*2/3;
8   do {
9     foo(size);
10     size = size * 0.5 - 1;
11   } while (size >= 0 );