view gcc/testsuite/g++.dg/template/dependent-name13.C @ 19:2b5abeee2509 default tip

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

// DR 1710 - Missing template keyword in class-or-decltype

template<typename T> struct S {
  void fn(typename T::template B<int>::template C<int>);
  void fn2(typename T::B<int>::template C<int>);
  void fn3(typename T::template B<int>::C<int>);
  void fn4(typename T::B<int>::C<int>);
};