1 /* { dg-do compile } */
2 /* { dg-options "-O1 -ftree-vectorize -fno-vect-cost-model -fnon-call-exceptions" } */
4 template < typename _Tp
> struct new_allocator
7 template < typename
> struct rebind
9 typedef new_allocator other
;
14 template < typename _Tp
> struct allocator
:public new_allocator
< _Tp
>
17 template < typename _Tp
, typename _Alloc
> struct _Vector_base
19 typedef typename
_Alloc::template rebind
< _Tp
>::other _Tp_alloc_type
;
22 typename
_Tp_alloc_type::pointer _M_start
;
23 typename
_Tp_alloc_type::pointer _M_finish
;
24 typename
_Tp_alloc_type::pointer _M_end_of_storage
;
34 _Alloc
= allocator
< _Tp
> >struct vector
:_Vector_base
< _Tp
, _Alloc
>
36 typedef _Vector_base
< _Tp
, _Alloc
> _Base
;
45 vector
< struct _GdkColor
>colors
;
46 vector
< float >data_block
;
49 LoadGraph::LoadGraph (int)
52 /* { dg-final { cleanup-tree-dump "vect" } } */