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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [enum1.C] - Blame information for rev 701

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do run }
2
 
3
#include 
4
 
5
enum foo
6
{
7
  foo1   = 0,
8
  foo2   = 0xffffffffffffffffULL,
9
  foo3   = 0xf0fffffffffffffeULL
10
};
11
 
12
int main ()
13
{
14
  if (sizeof (enum foo) != sizeof (unsigned long long))
15
    std::abort ();
16
}

powered by: WebSVN 2.1.0

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