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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr43066.c] - Blame information for rev 745

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

Line No. Rev Author Line
1 688 jeremybenn
struct S {
2
  struct { } empty[1];
3
  int i;
4
};
5
 
6
int foo(int i, ...)
7
{
8
  struct S s;
9
  __builtin_va_list va;
10
  __builtin_va_start(va, i);
11
  s = __builtin_va_arg(va, struct S);
12
  __builtin_va_end(va);
13
  return s.i;
14
}

powered by: WebSVN 2.1.0

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