aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/net1.C
blob: 9b2bbb835ff7a411da7ce36125084ccd053bdd94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Build don't link:
// Here is a net bug

class ivAllocation {
public:
  ivAllocation();
  int x_;
};

class TBScrollBoxInfo {
public:
  ivAllocation allocation_;
};

TBScrollBoxInfo* items_;

inline TBScrollBoxInfo item() {
  return items_[0];
}