shithub: scc

ref: d5ba7a743aa0a71de85332b403452fa3d498cb35
dir: /tests/cc/execute/0155-struct_compl.c/

View raw version
extern struct X x;
int foo();

int main()
{
	extern struct X x;
	return &x != 0;
}

struct X {int v;};

int foo()
{
	x.v = 0;
	return x.v;
}