aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/ucnid-2.c
blob: 616680a969ee0d1066f641b0944215cd26553aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do run } */
/* { dg-options "-std=c99" } */
#include <stdlib.h>
#include <string.h>

#define str(t) #t

int main (void)
{
  const char s[] = str (\u30b2);

  if (strcmp (s, "\u30b2") != 0)
    abort ();
  
  return 0;
}