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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [packed-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
short x1 = 17;
2
 
3
struct
4
{
5
  short i __attribute__ ((packed));
6
} t;
7
 
8
f ()
9
{
10
  t.i = x1;
11
  if (t.i != 17)
12
    abort ();
13
}
14
 
15
main ()
16
{
17
  f ();
18
  exit (0);
19
}

powered by: WebSVN 2.1.0

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