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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000227-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
static const unsigned char f[] = "\0\377";
2
static const unsigned char g[] = "\0ÿ";
3
 
4
int main(void)
5
{
6
  if (sizeof f != 3 || sizeof g != 3)
7
    abort ();
8
  if (f[0] != g[0])
9
    abort ();
10
  if (f[1] != g[1])
11
    abort ();
12
  if (f[2] != g[2])
13
    abort ();
14
  return 0;
15
}

powered by: WebSVN 2.1.0

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