svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / gcc.dg / darwin-abi-1.c
blob3b13c6236b16139de4aec70c5e8eb808f342e3ca
1 /* { dg-do compile { target powerpc*-*-darwin* } } */
2 /* { dg-options "-O" } */
3 /* { dg-final { scan-assembler "li r3,12345\n\t(bl|jbsr) " } } */
5 /* Check that zero-size structures don't affect parameter passing. */
7 struct empty { };
8 extern void foo (struct empty e, int a);
9 void bar (void) {
10 struct empty e;
11 foo (e, 12345);