OSDN Git Service

update
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Mar 1999 03:28:39 +0000 (03:28 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Mar 1999 03:28:39 +0000 (03:28 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25969 138bc75d-0d04-0410-961f-82ee72b054a4

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

index cdb792f..a3df718 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
 }