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.target/] [powerpc/] [darwin-abi-1.c] - Rev 325
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target powerpc*-*-darwin* } } */ /* { dg-options "-O" } */ /* { dg-final { scan-assembler "li r3,12345\n\t(bl|jbsr) " } } */ /* Check that zero-size structures don't affect parameter passing. */ struct empty { }; extern void foo (struct empty e, int a); void bar (void) { struct empty e; foo (e, 12345); }
Go to most recent revision | Compare with Previous | Blame | View Log