summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/init1.C
blob: 0759e460b0b63b7749851f9c20fc51164764d891 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do run  }
extern "C" void abort();

int i;
int j = i++;

int main()
{
  if (i != 1)
    abort();
}