* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-31.C
blob83eea471d07cc73e643b0826c7acbc66213bee1f
1 // Origin: PR c++/55663
2 // { dg-do compile { target c++11 } }
4 template <typename>
5 constexpr bool the_truth () { return true; }
7 template <bool>
8   struct Takes_bool { };
10 template<bool B>
11   using Alias = Takes_bool<B>;
13 template<typename T>
14   struct test { using type = Alias<the_truth<T>()>; };
16 int main () {
17   test<int> a;
19   return 0;