aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/loop1.C
blob: aa6d177d589db2ca2448912b626dfa0438028c94 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/60379

template <int> struct A {
  void m_fn1(int p1) {
    int *a;
    while (p1 && *static_cast<int *>(static_cast<void *>(a)))
      ;
  }
};