aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr94479.c
blob: a22629181b1ab8fbd884974c1cc4dbe93ab2877f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-require-stack-check "specific" } */
/* { dg-additional-options "-fpermissive -fstack-check -w" } */

int a;
struct b {
    char c;
    void *d;  
};
struct b e() {
    struct b f[] = {{}, "", f, a};
}