#include <iostream>

void foo()
{
	typedef int I;
	extern I a;
	std::cout << a;
}

typedef char I;
I a;

int main()
{
	foo();
}