gcc/testsuite/gcc.dg/cpp/ucnid-12-utf8.c
raw| 1 | /* Test spelling differences in UCNs in macro definitions still count |
| 2 | as the same identifier for macro expansion. */ |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-options "-std=c99 -pedantic-errors" } */ |
| 5 | |
| 6 | #define m1\u00c1 |
| 7 | #ifndef m1Á |
| 8 | #error not defined |
| 9 | #endif |
| 10 | |
| 11 | #define m2(\u00c1) Á |
| 12 | |
| 13 | int i = m2 (0); |