Revert "[PATCH 7/7] RISC-V: Disable by pieces for vector setmem length > UNITS_PER_WORD"
[official-gcc.git] / gcc / testsuite / g++.dg / cpp / ucnid-3-utf8.C
blob5c3044a171d5cab1a45981aee01654d3b4f6edcf
1 /* Test pasting of identifiers with extended characters works.  */
3 /* Note: The results expected in these tests are what GCC currently
4 outputs, but they are not technically standard-conforming.  If GCC is
5 changed in the future to produce the standard-conforming output, then
6 this test will fail and should be adjusted to check for UCNs in the
7 output rather than UTF-8.  See PR 91755 for more details.  */
9 /* { dg-do run } */
11 #include <stdlib.h>
12 #include <string.h>
14 #define c(s1, s2) s1 ## s2
15 #define h(s) #s
16 #define str(s) h(s)
18 int
19 main ()
21   if (strcmp (str (str (c (Á, Á))), "\"ÁÁ\""))
22     abort ();