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