gcc/testsuite/g++.old-deja/g++.pt/lookup1.C
raw| 1 | // { dg-do assemble } |
| 2 | |
| 3 | template <class T, class Allocator> |
| 4 | struct __vector_alloc_base |
| 5 | { |
| 6 | typedef int allocator_type; |
| 7 | }; |
| 8 | |
| 9 | template <class T> |
| 10 | struct vector : __vector_alloc_base<T,int> |
| 11 | { |
| 12 | typedef short allocator_type; |
| 13 | explicit vector(const allocator_type& a = allocator_type()) {} |
| 14 | }; |