| 1 |
/* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION" }*/ |
| 2 |
int a_symbol; |
| 3 |
|
| 4 |
#define thismacro a_symbol |
| 5 |
|
| 6 |
#define concat(a, b) a##b |
| 7 |
#define x this |
| 8 |
#define y macro |
| 9 |
|
| 10 |
int f() |
| 11 |
{ |
| 12 |
return concat(x, y); |
| 13 |
} |
| 14 |
|
| 15 |
/* { dg-error "use of undeclared identifier 'xy'" } */ |