aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/struct-ret-2.c
blob: 0d9b86f6fe53718f1406cf5d80bccef1cf7c5ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Simplified by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
   from bug report by Helmut Jarausch <jarausch@igpm.rwth-aachen.de>

   Copyright (C) 1999 Free Software Foundation  */

/* { dg-do compile } */
/* { dg-options "-O3 -w" } */

struct {
  unsigned i[4];
} foo() {}
 
void bar() {
  foo();           
}