2 // { dg-options "-std=c++0x" }
4 template<typename Tp, typename... Args>
5 class mini_is_constructible
8 typedef struct { char arr[2]; } two;
10 template<typename Tp1, typename... Args1>
11 static decltype(Tp1(Args1()...), one())
14 template<typename, typename...>
18 static const bool value = sizeof(test<Tp, Args...>(0)) == 1;
23 int Test[mini_is_constructible<int, A, A>::value ? -1 : 1];