Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.mike/net1.C

raw
1 // { dg-do assemble }
2 // Here is a net bug
3
4 class ivAllocation {
5 public:
6 ivAllocation();
7 int x_;
8 };
9
10 class TBScrollBoxInfo {
11 public:
12 ivAllocation allocation_;
13 };
14
15 TBScrollBoxInfo* items_;
16
17 inline TBScrollBoxInfo item() {
18 return items_[0];
19 }