summaryrefslogtreecommitdiff
path: root/support/regression/qct/0045-struct.c
blob: 418a4a1a43568e4c35233ccfc38332618f851bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct T;

struct T {
	int x;
};

int
main()
{
	struct T v;
	{ struct T { int z; }; }
	v.x = 2;
	if(v.x != 2)
		return 1;
	return 0;
}