shithub: scc

ref: d87648e6d3b8b6d2f6f430a7ef1c4f378feeae09
dir: /cc1/tests/test049.c/

View raw version
/*
name: TEST049
description: Basic test for initializer
error:
output:
G1	I	"x	(
	#I5
)
G3	P	"p	(
	G1	'P
)
G5	F	"main
{
\
	j	L6	G3	@I	#I5	=I
	r	#I1
L6
	r	#I0
}
*/

int x = 5;
int *p = &x;

int
main()
{
	if(*p != 5)
		return 1;
	return 0;
}