OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [struct-by-value-19_main.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test structures passed by value, including to a function with a
2
   variable-length argument list.  Struct members are char, int, double,
3
   and other structs containing these types.  This test was written in
4
   response to a layout change for such structs for powerpc64-linux,
5
   but this test only checks similar structs that are not affected by
6
   that break in compatibility. */
7
 
8
extern void struct_by_value_19_x (void);
9
extern void exit (int);
10
int fails;
11
 
12
int
13
main ()
14
{
15
  struct_by_value_19_x ();
16
  exit (0);
17
}

powered by: WebSVN 2.1.0

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