summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr55355.C
blob: 6d8f8b6be1ec2f83843fb408719095d5b90f469c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-do compile } */

struct A
{
    void funcA(void);
};

struct B {};

struct C
{
    void funcC(void) { a_mp->funcA(); }

    char buf_ma[268435456];
    A   *a_mp;
    B    b_m;
};

void
func(C *c_p)
{
    c_p->funcC();
}