aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1999-03-24 22:28:39 -0500
committerJason Merrill <jason@gcc.gnu.org>1999-03-24 22:28:39 -0500
commit0b9c1e4dc4d6ce7d28d8be00bd28dd0ef76dc861 (patch)
treebab06ffc4baa3dcaaaa9d4d707b8f94bb104937b
parentb8b0126f617808155127ac3ceef7166af3edb5fa (diff)
downloadgcc-0b9c1e4dc4d6ce7d28d8be00bd28dd0ef76dc861.zip
gcc-0b9c1e4dc4d6ce7d28d8be00bd28dd0ef76dc861.tar.gz
gcc-0b9c1e4dc4d6ce7d28d8be00bd28dd0ef76dc861.tar.bz2
update
From-SVN: r25969
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/typename6.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename6.C b/gcc/testsuite/g++.old-deja/g++.pt/typename6.C
index cdb792f..a3df718 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/typename6.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/typename6.C
@@ -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
}