OSDN Git Service

* doc/loop.texi: Document possibility not to perform disambiguation
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20050607-1.c
1 /* { 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 }