summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/decl-global-ext.c
blob: 97ffa7c2f6757110fc0e8b91f2dfdc01d455370c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int merror = 0;
extern int merror;

void mtherr (int code)       
{
  merror = code + 1;
}

int main()
{
	mtherr(7);
	return 0;
}
OpenPOWER on IntegriCloud