OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [utf8-5byte-1.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Test for bug in conversions from 5-byte UTF-8 sequences in
2
   cpplib.  */
3
/* { dg-do run { target { 4byte_wchar_t } } } */
4
/* { dg-options "-std=gnu99" } */
5
 
6
extern void abort (void);
7
extern void exit (int);
8
 
9
__WCHAR_TYPE__ ws[] = L"û¿¿¿¿";
10
 
11
int
12
main (void)
13
{
14
  if (ws[0] != L'\U03FFFFFF' || ws[1] != 0)
15
    abort ();
16
  exit (0);
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.