update
authorJason Merrill <jason@gcc.gnu.org>
Thu, 25 Mar 1999 03:28:39 +0000 (22:28 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Mar 1999 03:28:39 +0000 (22:28 -0500)
From-SVN: r25969

gcc/testsuite/g++.old-deja/g++.pt/typename6.C

index cdb792fe8abf35e5a008acc63092a42aade74ae2..a3df71840e7f8b52273466e0aea7b0c4027c1b9d 100644 (file)
@@ -1,3 +1,5 @@
+// We don't try to make implicit typename handle this case.
+
 // Build don't link:
 // Special g++ Options:
 
@@ -11,10 +13,10 @@ struct A
 template <class U>
 struct B : public A<U>
 {
-  A_Type Func();
+  A_Type Func();               // ERROR - candidate
 };
 
 template <class U>
 A<U>::A_Type B<U>::Func()
-{
+{                              // ERROR - no match
 }