2 // We failed to supress inlining of a varargs function when it's a template.
4 // { dg-options "-O3" }
8 typedef __SIZE_TYPE__ size_t;
10 template < class Type > class VectorNd
16 VectorNd (size_t _size, size_t count, ...)
19 data = new Type[size];
25 for (size_t i = 0; i < count; i++)
26 data[i] = va_arg (ap, Type);
39 VectorNd <double> vector (3, 3, 1.0, 2.0, 3.0);