Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / template / memtmpl3.C
blob583155ea760a10135098814318517c1c25effb06
1 // PR c++/33239
3 struct null_type;
5 template<typename T1, typename T2>
6 struct tuple_impl
8   template<typename U>
9   struct append
10   {
11     typedef tuple_impl<U, null_type> type;
12   };
14   int data;
17 template<typename T1>
18 class tuple
19 : public tuple_impl<T1, null_type>::template append<T1>::type
21   using tuple_impl<T1, null_type>::template append<T1>::type::data;
24 tuple<int>  my_tuple;