shithub: scc

ref: 3650d591bcf2c9e4584b12228dd9f2c6f6145b8a
dir: /cc1/tests/test060.c/

View raw version
/*
name: TEST060
description: Test for correctness of #line
error:
output:
G2	I	F	"main
{
\
	h	#I0
}
*/

#undef  line
#define line 1000

#line line
#if 1000 != __LINE__
	#error "  # line line" not work as expected
#endif

int
main()
{
	return 0;
}