blob: 3b13c6236b16139de4aec70c5e8eb808f342e3ca [file] [log] [blame]
/* { 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);
}