]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/alias-decl-33.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-33.C
1 // PR c++/51239
2 // { dg-require-effective-target c++11 }
3
4 template<class... x>
5 class list{};
6 template<class a, class... b>
7 using tail=list<b...>;
8 template <class...T>
9 void f(tail<T...>); // { dg-error "alias" }
10
11 int main()
12 {
13 f<int,int>({});
14 }
This page took 0.039582 seconds and 5 git commands to generate.