2 * @file Bug_3709_Regression_Test.cpp
4 * Reproduces the problems reported in bug 3709
5 * http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=3709
8 #include "test_config.h"
10 #include "ace/OS_NS_stdio.h"
16 #if defined(_MSC_VER) && _MSC_VER < 1400
17 #define BROKEN_TEMPLATE_TEMPLATE
21 #define BROKEN_TEMPLATE_TEMPLATE
24 // HP aC++ 03.x fails this
25 #if defined(__HP_aCC) && (__HP_aCC < 40000)
26 #define BROKEN_TEMPLATE_TEMPLATE
29 #ifndef BROKEN_TEMPLATE_TEMPLATE
30 template<template<typename U
, typename
= std::allocator
<U
> > class container
, typename DT
>
31 container
<DT
> initializer(const DT
&d
)
40 run_main (int, ACE_TCHAR
*[])
42 ACE_START_TEST (ACE_TEXT ("Bug_3709_Regression_Test"));
44 #ifndef BROKEN_TEMPLATE_TEMPLATE
45 vector
<int> v
= initializer
<vector
>(5);