summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic-alias1.C
blob: e931bc5faad6837e152c91797af35d3db42160f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/66405
// { dg-do compile { target c++11 } }

template <typename T, T...> struct B;
template <bool... Bools> using and_c = B<bool, +Bools...>;
template <typename T, typename U> using Constructible = int;
template <typename... Ts> struct common_tuple {
  template <typename... Us,
	    typename = and_c<Constructible<Ts, Us>{}...> >
    common_tuple();
  void foo();
};
template <> void common_tuple<>::foo(){}