summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t05.C
blob: bf4f1ea8d25ad9d1290d413086c1051d99235b44 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }

template <class A> class B {    // { dg-message "note" } 
  A a;                          
 public:
  B(A&aa);			// { dg-message "note" }
  ~B();
};
static B<int> b_int (3);	// { dg-error "no matching function" } 
// { dg-message "candidate" "candidate note" { target *-*-* } 9 }