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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [b2.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
 
2
struct s
3
{
4
  unsigned a : 8;
5
  unsigned b : 8;
6
  unsigned c : 8;
7
  unsigned d : 8;
8
};
9
 
10
/*
11
struct
12
{
13
  unsigned a : 8;
14
  unsigned b : 16;
15
  unsigned c : 8;
16
};
17
*/
18
 
19
struct s
20
foo (struct s s, int i)
21
{
22
  s.b = i;
23
  return s;
24
}

powered by: WebSVN 2.1.0

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