Commit ea96098d by Zack Weinberg

New test case for the preprocessor.

I made it up myself; the inspiration came from a comp.std.c post. -zack

From-SVN: r24767
parent 3243be28
/* This checks for two things:
- an obscure corner case in the standard rules for __LINE__
- regression of an associated bug in cpplib where the semicolon got lost */
int i = __LINE__\
;
int main (void)
{
if (i != 4)
abort();
else
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment