shithub: scc

ref: 45110f5f227f83965b9a008e52096b45e4b72d12
dir: /cc1/tests/test060.c/

View raw version
/* See LICENSE file for copyright and license details. */

/*
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;
}