mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-08 03:54:01 +08:00
* gcc.dg/struct-ret-2.c: New test.
From-SVN: r30310
This commit is contained in:
parent
2792392c2f
commit
7b6cbff4ca
@ -1,5 +1,7 @@
|
||||
1999-11-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
* gcc.dg/struct-ret-2.c: New test.
|
||||
|
||||
* gcc.dg/array-1.c: New test.
|
||||
|
||||
Sat Oct 30 22:23:46 1999 Stephen L Moshier <moshier@mediaone.net>
|
||||
|
15
gcc/testsuite/gcc.dg/struct-ret-2.c
Normal file
15
gcc/testsuite/gcc.dg/struct-ret-2.c
Normal file
@ -0,0 +1,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 { xfail mips-sgi-irix6* } } */
|
||||
/* { dg-options "-O3" } */
|
||||
|
||||
struct {
|
||||
unsigned i[4];
|
||||
} foo() {}
|
||||
|
||||
void bar() {
|
||||
foo();
|
||||
}
|
Loading…
Reference in New Issue
Block a user