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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [ucnid-6.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do run */
2
/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "*" } { "" } } */
3
/* { dg-options "-std=c99 -fextended-identifiers -save-temps" } */
4
void abort (void);
5
 
6
int \u00C0(void) { return 1; }
7
int \u00C1(void) { return 2; }
8
int \U000000C2(void) { return 3; }
9
int wh\u00ff(void) { return 4; }
10
int a\u00c4b\u0441\U000003b4e(void) { return 5; }
11
 
12
int main (void)
13
{
14
 
15
  if (\u00C0() != 1)
16
    abort ();
17
  if (\u00c1() != 2)
18
    abort ();
19
  if (\u00C2() != 3)
20
    abort ();
21
  if (wh\u00ff() != 4)
22
    abort ();
23
  if (a\u00c4b\u0441\U000003b4e() != 5)
24
    abort ();
25
 
26
  return 0;
27
}
28
/* { dg-final { cleanup-saved-temps } } */

powered by: WebSVN 2.1.0

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