view gcc/testsuite/gcc.dg/cpp/19990119-1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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];