From 0d4ba75b832dc5088602d178491dab5c99ba1705 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Tue, 2 Jun 1998 20:01:42 +0000 Subject: [PATCH] More patches from Martin. From-SVN: r20190 --- gcc/testsuite/g++.old-deja/g++.robertl/eb4.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb4.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb4.C index 152f963209f..04858587d45 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb4.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb4.C @@ -29,7 +29,7 @@ public: float f; }; -class some_derived::func(derived_func_args &a) +class some_derived::func(derived_func_args &a) // ERROR - illegal member syntax { cout << a.i << ' ' << a.f << endl; } @@ -37,12 +37,12 @@ class some_derived::func(derived_func_args &a) int main() { - some_derived d; - some_derived::derived_func_args dfa; + some_derived d; // ERROR - abstract class + some_derived::derived_func_args dfa; // ERROR - incomplete class some_base *b = &d; dfa.i = 10; dfa.f = 20; - b->func(dfs); + b->func(dfs); // ERROR - dfs not declared return 0; } -- 2.30.2