aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/990413-1.c
blob: 591159abc672605b541b2cd9b980854278770ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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 "parse error" "error on this line" { target native } { 12 } } */ 
}