aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/torture/pr56398.C
blob: 5b7bcf279b2275dc57d8d4c9b07fc9500baac47a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// { dg-do compile }
// { dg-options "-g" }

namespace
{
#0 "/usr/include/c/4.8/bits/postypes.h" 3
}

vtkpow (int b)
{
  int a1;
  int b1;
  int c;
  while (b1)
    {
      while (b)
    b1 = 0;
      b1 = b1 - 1;
      c = c * a1;
    }
  return c;
}