blob: 7e33518a35c311234864483b54a133f71e0fafba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* 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 */
/* { dg-do run } */
int i = __LINE__\
;
int main (void) /* { dg-bogus "parse error" "semicolon eaten" } */
{
if (i != 6)
abort();
else
return 0;
}
|