repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20050607-1.c
blob
18cbf45919cb812fd8f65ed76f8e6a70d5f65845
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
}