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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020109-2.c] - Blame information for rev 745

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

Line No. Rev Author Line
1 688 jeremybenn
typedef union
2
{
3
  unsigned char member3;
4
  signed short member4;
5
  unsigned int member5;
6
}
7
UNI02;
8
 
9
struct srt_dat_t
10
{
11
  UNI02 un2;
12
  unsigned long member1;
13
  signed short member2;
14
};
15
 
16
struct srt_dat_t exsrt1;
17
void
18
extern_test (struct srt_dat_t arg1)
19
{
20
  arg1.un2.member3++;
21
  arg1.member1++;
22
  arg1.member2++;
23
}
24
 
25
int
26
main (void)
27
{
28
  extern_test (exsrt1);
29
  return (0);
30
}

powered by: WebSVN 2.1.0

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