aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/init2.C
blob: c85adc385ce6469b157d8d1bbd0969201288eabf (plain)
1
2
3
4
5
6
7
8
9
// PRMS Id: 5126

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