summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr27409.c
blob: 430e6c8cc5e2f30dbb789f8c15a036f751f0dede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */

typedef struct {
        struct { } z;
} thang_t;

struct {
        short           e;
        thang_t         f;
        int g;
} my_struct;

void function(int blaz)
{
  thang_t *fp = &my_struct.f;
  foo(fp);
}