aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.jason/init2.C
blob: d1507afac3e0d52e416556b2b59c03ff984447a3 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do run  }
// PRMS Id: 5126

extern int i, j;
static const int foo [] = { i, j };
int i = 5, j = 42;
int main()
{
  return foo[1] != 42;
}