blob: d682d0a8102764470a114c79b115172deb30ad10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* PR preprocessor/56824 */
/* { dg-do compile } */
/* { dg-options "-Waggregate-return" } */
struct S { int i; };
struct S foo (void);
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Waggregate-return"
int
main ()
{
foo ();
return 0;
}
#pragma GCC diagnostic pop
|