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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20050607-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 } */
2
/* { dg-options "-Wpadded" }
3
/* The struct internally constructed for the nested function should
4
   not result in a warning from -Wpadded. */
5
extern int baz(int (*) (int));
6
int foo(void)
7
{
8
  int k = 3;
9
  int bar(int x) {
10
    return x + k;
11
  }
12
  return baz(bar);
13
}

powered by: WebSVN 2.1.0

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