summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/19990409-1.c
blob: d7f5e28525e41f705020801e785e840ed357c92d (plain)
1
2
3
4
5
6
/* Test that __LINE__ works when embedded in a macro. */
/* { dg-do compile } */

#define XLINE __LINE__

char array[XLINE == __LINE__ ? 1 : -1];