shithub: scc

ref: cb3da529f4c6597fe1ae18704a55b5fa201cac61
dir: /cc1/tests/test060.c/

View raw version
/*
name: TEST060
description: Test for correctness of #line
error:
output:
G2	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;
}