summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/warnings10.C
blob: ea1e888827cd7d6b0fec08624401f092f6fecdec (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// GROUPS passed warnings
void foo()
{
  int i;
  if (1) {
    for (int i = 0; i < 10; i++)
      ;
  }
}