Test for testing a global followed by extern declaration.

From-SVN: r72095
This commit is contained in:
Fariborz Jahanian 2003-10-04 16:53:19 +00:00
parent b68a40b280
commit e9ff9b17a7

View File

@ -0,0 +1,13 @@
int merror = 0;
extern int merror;
void mtherr (int code)
{
merror = code + 1;
}
int main()
{
mtherr(7);
return 0;
}