Debian Codegraph @

gcc/testsuite/g++.dg/inherit/sizeof1.C

raw
1 // PR c++/35007
2
3 struct AffEntry
4 {
5 union {
6 char base[256];
7 } conds;
8 };
9
10 struct PfxEntry
11 : public AffEntry
12 {
13 PfxEntry()
14 {
15 sizeof(conds.base[0]);
16 }
17 };