OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* 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
}