aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t05.C
blob: 5c99f772ad97dc1e03df473082a9f1ded8d68b25 (plain)
1
2
3
4
5
6
7
8
9
// Build don't link: 

template <class A> class B {   
  A a;                          
 public:
  B(A&aa);			// ERROR - near match
  ~B();
};  // ERROR - candidates
static B<int> b_int (3);	// ERROR - no matching function