aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/ucnid-2-utf8.c
blob: e3730f8641a1cb6ac5436079320a0c2f1fba8d82 (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 ();

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