]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/variadic67.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic67.C
CommitLineData
4b2e63de 1// { dg-do compile { target c++11 } }
d6a85c8d
DG
2template<typename... Elements> struct tuple {};
3
4template<typename... Args>
5struct nested
6{
7 typedef tuple<tuple<Args, Args...>...> type;
8};
9
10template<typename T, typename U>
11struct is_same
12{
13 static const bool value = false;
14};
15
16template<typename T>
17struct is_same<T, T>
18{
19 static const bool value = true;
20};
21
22int a0[is_same<nested<int, float>::type,
23 tuple<tuple<int, int, float>,
24 tuple<float, int, float> > >::value? 1 : -1];
This page took 7.41503 seconds and 5 git commands to generate.