blob: 10a7baae3f5693e1bb6498ed78e077fdd0342122 (
plain)
1
2
3
4
5
6
7
8
9
|
/* 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 compile } */
enum { i = __LINE__\
};
char array[i == 6 ? 1 : -1];
|