mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
24 lines
566 B
C++
24 lines
566 B
C++
/* Special Conformance Test 3.6.0.2: Test explicit line numbering (#line) */
|
|
/* with a filename */
|
|
|
|
#define lineNum(x) x
|
|
|
|
#pragma debug 9 /* enable range checking and trace back */
|
|
|
|
void Sub (void)
|
|
{
|
|
int a [4080]; /* ensure stack overflow into SANE's area */
|
|
}
|
|
|
|
#line lineNum(88) "noFile" /* expect trace back to report error on line */
|
|
/* 91 (call to Sub), in file noFile */
|
|
Sub2()
|
|
{
|
|
Sub();
|
|
}
|
|
|
|
main ()
|
|
{
|
|
Sub2 ();
|
|
}
|