3 // { dg-options "-fpermissive -w -Werror" }
6 template < size_t, size_t > struct AlignedBuffer {};
8 template < typename > class VectorBufferBase
11 allocateBuffer (size_t) {
19 template < typename T, size_t > class VectorBuffer:VectorBufferBase < T >
21 typedef VectorBufferBase < T > Base;
26 allocateBuffer (size_t) {
32 size_t m_inlineBufferSize;
34 AlignedBuffer < 0, __alignof__ (T) > m_inlineBuffer;
37 template < typename T, size_t > class Vector
39 typedef VectorBuffer < T,
42 void shrinkCapacity (size_t);
50 template < typename T, size_t inlineCapacity > void Vector < T,
51 inlineCapacity >::shrinkCapacity (size_t)
53 m_buffer.allocateBuffer (0);
56 struct PatternDisjunction;
59 m_disjunctions.clear ();
61 Vector < PatternDisjunction *, 0 > m_disjunctions;