1// PR c++/60379
2
3template <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};
10