view gcc/testsuite/g++.dg/template/dependent-name12.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

// PR c++/94057 - template keyword in a typename-specifier.

template <bool> struct A;
template <typename, typename> struct B;
template <typename T, typename U, typename V> struct B<T U::*, V> {
  typename A<V::x>::type::type t;
};