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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [980505-2.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
typedef unsigned short Uint16;
2
typedef unsigned int Uint;
3
 
4
Uint f ()
5
{
6
        Uint16 token;
7
        Uint count;
8
        static Uint16 values[1] = {0x9300};
9
 
10
        token = values[0];
11
        count = token >> 8;
12
 
13
        return count;
14
}
15
 
16
int
17
main ()
18
{
19
  if (f () != 0x93)
20
    abort ();
21
  exit (0);
22
}

powered by: WebSVN 2.1.0

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