aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/ucnid-2.c
blob: 02ffdaf32eea0402b3f027f8a49d2bb469c47665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* APPLE LOCAL begin mainline UCNs 2005-04-17 3892809 */
/* { 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;
}
/* APPLE LOCAL end mainline UCNs 2005-04-17 3892809 */