URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [darwin-abi-1.c] - Rev 867
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