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

Subversion Repositories openrisc

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

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

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