OpenCores
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] - Blame information for rev 823

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile { target powerpc*-*-darwin* } } */
2
/* { dg-options "-O" } */
3
/* { dg-final { scan-assembler "li r3,12345\n\t(bl|jbsr) " } } */
4
 
5
/* Check that zero-size structures don't affect parameter passing.  */
6
 
7
struct empty { };
8
extern void foo (struct empty e, int a);
9
void bar (void) {
10
  struct empty e;
11
  foo (e, 12345);
12
}

powered by: WebSVN 2.1.0

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