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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [ucnid-9.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Test __func__ with extended identifiers and character set
2
   conversions.  */
3
/* { dg-do run } */
4
/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "*" } { "" } } */
5
/* { dg-skip-if "" { ! ucn } { "*" } { "" } } */
6
/* { dg-options "-std=c99 -fextended-identifiers -fexec-charset=ISO-8859-1" } */
7
/* { dg-require-iconv "ISO-8859-1" } */
8
 
9
extern int strcmp (const char *, const char *);
10
extern void abort (void);
11
extern void exit (int);
12
 
13
void
14
\u00e9 (void)
15
{
16
  if (strcmp (__func__, "\u00e9") != 0)
17
    abort ();
18
}
19
 
20
int
21
main (void)
22
{
23
  \u00e9 ();
24
  exit (0);
25
}

powered by: WebSVN 2.1.0

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