charset.c (UCS_LIMIT): New macro.
* charset.c (UCS_LIMIT): New macro. (ucn_valid_in_identifier): Use it instead of a hardcoded constant. (_cpp_valid_ucn): Issue a pedantic warning for UCNs larger than UCS_LIMIT outside of identifiers in C and in C++2a or later. From-SVN: r276167
Showing
gcc/testsuite/g++.dg/cpp2a/ucn1.C
0 → 100644
Please
register
or
sign in
to comment