summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/lookup1.C
blob: 81417fe63c31eb9b1210e6e128c4a39cc12d4750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }

template <class T, class Allocator>
  struct __vector_alloc_base 
{ 
  typedef int allocator_type; 
};

template <class T>
  struct vector :  __vector_alloc_base<T,int> 
{
  typedef short allocator_type;
  explicit vector(const allocator_type& a = allocator_type()) {}
};