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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [ucnid-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
/* { dg-do run } */
2
/* { dg-options "-std=c99 -fextended-identifiers" } */
3
void abort (void);
4
 
5
#define \u00C0 1
6
#define \u00C1 2
7
#define \U000000C2 3
8
#define wh\u00ff 4
9
#define a\u00c4b\u0441\U000003b4e 5
10
 
11
int main (void)
12
{
13
 
14
  if (\u00C0 != 1)
15
    abort ();
16
  if (\u00c1 != 2)
17
    abort ();
18
  if (\u00C2 != 3)
19
    abort ();
20
  if (wh\u00ff != 4)
21
    abort ();
22
  if (a\u00c4b\u0441\U000003b4e != 5)
23
    abort ();
24
 
25
  return 0;
26
}

powered by: WebSVN 2.1.0

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