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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [expr/] [stdarg2.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR target/26141
2
 
3
#include 
4
 
5
struct S
6
{
7
  double a;
8
};
9
 
10
void
11
foo (int z, ...)
12
{
13
  struct S arg;
14
  va_list ap;
15
  arg = va_arg (ap, struct S);
16
}
17
 
18
 
19
struct T
20
{
21
  __complex__ float a;
22
};
23
 
24
void
25
bar (int z, ...)
26
{
27
  struct T arg;
28
  va_list ap;
29
  arg = va_arg (ap, struct T);
30
}

powered by: WebSVN 2.1.0

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