summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/ucnid-2.c
blob: 6719c783f561c1e42e87a2b95985fa0c7fba7051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do run } */
/* { dg-options "-std=c99 -fextended-identifiers" } */
#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;
}