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
PR c/64440
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr56824.c
blob
d682d0a8102764470a114c79b115172deb30ad10
1
/* PR preprocessor/56824 */
2
/* { dg-do compile } */
3
/* { dg-options "-Waggregate-return" } */
4
5
struct
S
{
int
i
; };
6
struct
S
foo
(
void
);
7
8
#pragma GCC diagnostic push
9
#pragma GCC diagnostic ignored
"-Waggregate-return"
10
11
int
12
main
()
13
{
14
foo
();
15
return
0
;
16
}
17
18
#pragma GCC diagnostic pop