Commit a8b7e186 by Zack Weinberg

Test for cpp line numbering bug

From-SVN: r26431
parent 299d1934
/* Verify that cpp doesn't screw up the line numbering when a macro argument
extends over multiple lines. */
/* { dg-do compile } */
#define FOO(x) /* nothing */
void
func(void)
{
FOO(i
= 4)
else; /* { dg-error "syntax error" "error on this line" { target native } { 12 } } */
}
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