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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [struct-ini-3.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct
2
{
3
  unsigned int f1:1, f2:1, f3:3, f4:3, f5:2, f6:1, f7:1;
4
} result = {1, 1, 7, 7, 3, 1, 1};
5
 
6
main ()
7
{
8
  if ((result.f3 & ~7) != 0 || (result.f4 & ~7) != 0)
9
    abort ();
10
  exit (0);
11
}

powered by: WebSVN 2.1.0

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