PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / loop1.C
blobaa6d177d589db2ca2448912b626dfa0438028c94
1 // PR c++/60379
3 template <int> struct A {
4   void m_fn1(int p1) {
5     int *a;
6     while (p1 && *static_cast<int *>(static_cast<void *>(a)))
7       ;
8   }
9 };