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/] [compile/] [20020109-2.c] - Rev 297

Compare with Previous | Blame | View Log

typedef union
{
  unsigned char member3;
  signed short member4;
  unsigned int member5;
}
UNI02;
 
struct srt_dat_t
{
  UNI02 un2;
  unsigned long member1;
  signed short member2;
};
 
struct srt_dat_t exsrt1;
void
extern_test (struct srt_dat_t arg1)
{
  arg1.un2.member3++;
  arg1.member1++;
  arg1.member2++;
}
 
int
main (void)
{
  extern_test (exsrt1);
  return (0);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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