OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [ucnid-9.c] - Rev 300

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

/* Test __func__ with extended identifiers and character set
   conversions.  */
/* { dg-do run } */
/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "*" } { "" } } */
/* { dg-skip-if "" { ! ucn } { "*" } { "" } } */
/* { dg-options "-std=c99 -fextended-identifiers -fexec-charset=ISO-8859-1" } */
/* { dg-require-iconv "ISO-8859-1" } */
 
extern int strcmp (const char *, const char *);
extern void abort (void);
extern void exit (int);
 
void
\u00e9 (void)
{
  if (strcmp (__func__, "\u00e9") != 0)
    abort ();
}
 
int
main (void)
{
  \u00e9 ();
  exit (0);
}
 

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

powered by: WebSVN 2.1.0

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