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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000314-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 long long uint64;
2
const uint64 bigconst = 1ULL << 34;
3
 
4
int a = 1;
5
 
6
static
7
uint64 getmask(void)
8
{
9
    if (a)
10
      return bigconst;
11
    else
12
      return 0;
13
}
14
 
15
main()
16
{
17
    uint64 f = getmask();
18
    if (sizeof (long long) == 8
19
        && f != bigconst) abort ();
20
    exit (0);
21
}
22
 
23
 

powered by: WebSVN 2.1.0

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