| 1 |
/* Test for warning of and recovery from recursion in object-like |
| 2 |
macros. */ |
| 3 |
|
| 4 |
/* { dg-do preprocess } */ |
| 5 |
|
| 6 |
#define foo foo |
| 7 |
foo /* { dg-error "-:detected recursion" } */ |
| 8 |
|
| 9 |
#define bar a bar b |
| 10 |
bar /* { dg-error "-:detected recursion" } */ |