view gcc/testsuite/gcc.dg/cpp/ucnid-12.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Test spelling differences in UCNs in macro definitions still count
   as the same identifier for macro expansion.  */
/* { dg-do compile } */
/* { dg-options "-std=c99 -pedantic-errors" } */

#define m1\u00c1
#ifndef m1\u00C1
#error not defined
#endif

#define m2(\u00c1) \u00C1

int i = m2 (0);