ORCA-C/Tests/Spec.Conform/SPC3.6.0.1.CC
2017-10-01 17:47:47 -06:00

1 line
442 B
C++
Executable File

/* Special Conformance Test 3.6.0.1: Test explicit line numbering (#line) */
#pragma debug 9 /* enable range checking and trace back */
void Sub (void)
{
int a [4080]; /* ensure stack overflow into SANE's area */
}
#line 9999 /* expect trace back to report error on line */
/* 9999+4 (call to Sub) */
main ()
{
Sub ();
}