summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/visibility4.C
blob: 158c161d307b04749b9cf3f0800db3fe4d36e86e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// GROUPS passed visibility
template <class T> 
class Feld {
public:
  Feld(const Feld&) {}
};

class Polynom : private Feld<double> {
  Polynom();
  friend Polynom f(const Polynom&);
};

Polynom f(const Polynom& p) { return p; }