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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr47237.c] - Blame information for rev 711

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

Line No. Rev Author Line
1 688 jeremybenn
#define INTEGER_ARG  5
2
 
3
extern void abort(void);
4
 
5
static void foo(int arg)
6
{
7
  if (arg != INTEGER_ARG)
8
    abort();
9
}
10
 
11
static void bar(int arg)
12
{
13
  foo(arg);
14
  __builtin_apply(foo, __builtin_apply_args(), 16);
15
}
16
 
17
int main(void)
18
{
19
  bar(INTEGER_ARG);
20
 
21
  return 0;
22
}

powered by: WebSVN 2.1.0

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