2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20050607-1.c
blob83c096748047eed28769d1d2b057fd730f3df01a
1 /* { dg-do compile } */
2 /* { dg-require-effective-target trampolines } */
3 /* { dg-options "-Wpadded" }
4 /* The struct internally constructed for the nested function should
5 not result in a warning from -Wpadded. */
6 extern int baz(int (*) (int));
7 int foo(void)
9 int k = 3;
10 int bar(int x) {
11 return x + k;
13 return baz(bar);