view gcc/testsuite/g++.dg/template/typename7.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// PR c++/17501

template<int> struct A;

template<> struct A<0>
{
    struct B
    {
        struct C
        {
	  typedef int D;
        };
    };
};

template<int I> struct E
{
  typename A<I>::B::C::D i;
};