2 // { dg-do compile { target c++11 } }
4 template<typename A, typename B>
5 struct is_same { static const bool value = false; };
8 struct is_same<A, A> { static const bool value = true; };
10 template<typename... Args>
11 void func(Args... args)
13 int arr[] = { args... };
14 static_assert (is_same<decltype(arr), int[sizeof...(Args)]>::value, "");