aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/lookup1.C
blob: 359915cb6d7814ab23cfde4898918b35bd0bc7bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link:

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()) {}
};