aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/cpp/pr58844-2.c
blob: 1e219152fc5d761b59508cee75a622b16d3f370d (plain)
1
2
3
4
5
6
7
8
/* PR preprocessor/58844 */
/* { dg-do compile } */
/* { dg-options "-ftrack-macro-expansion=2" } */

#define A x######x
int A = 1;
#define A x######x	/* { dg-message "previous definition" } */
#define A x##x		/* { dg-warning "redefined" } */