]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/alias-decl-48.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-48.C
CommitLineData
1a4cd2cd
JM
1// PR c++/66289
2// { dg-do compile { target c++11 } }
3
4template<typename T> struct A {};
5
6template<typename T> struct shared_ptr { };
7template<typename T> using APtr = shared_ptr<A<T>>;
8
9template<typename T> struct foo;
10template<typename T> struct foo<shared_ptr<T>> { };
11template<typename T> struct foo<APtr<T>> { };
12
13foo<shared_ptr<A<int>>> aa;
This page took 3.639371 seconds and 5 git commands to generate.