]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/attrib54.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / attrib54.C
CommitLineData
790ecf85
JJ
1// { dg-do compile { target c++11 } }
2
3inline namespace N __attribute__((__abi_tag__ ("foo"))) {}
4template <typename> struct A {};
5namespace N {
6template <typename> class B {};
7}
8template <typename T> class __attribute__((__aligned__ (sizeof (T)))) C {};
9template <typename> struct D {
10 template <typename _Up> using G = C<_Up>;
11};
12template <typename T> struct F {
13 template <typename U> struct H {
14 typedef typename D<T>::template G<U> I;
15 };
16};
17template <typename T, typename = C<T>> struct J {
18 C<A<const B<char>>> L;
19 typedef F<C<int>>::H<A<const B<char>>>::I M;
20 J<M> *a;
21};
This page took 2.380742 seconds and 5 git commands to generate.