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

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gcc/testsuite/g++.dg/template/dependent-name13.C	Mon May 25 07:50:57 2020 +0900
@@ -0,0 +1,8 @@
+// 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>);
+};