From 7326d37741efc6cedb135129ab87a544366b2fd1 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Thu, 28 May 1998 23:06:53 +0000 Subject: [PATCH] g++ now recognizes the error. From-SVN: r20127 --- gcc/testsuite/g++.old-deja/g++.robertl/eb67.C | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb67.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb67.C index f73ece9..4b66c11 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb67.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb67.C @@ -1,15 +1,6 @@ // Build don't link: /* -The 971114 "gcc/cp/parse.y" doesn't properly identify non-aggregate -types used as base classes. - -First, the rule: - - base_class: base_class_access_list see_typename base_class.1 - -uses "IS_AGGR_TYPE" instead of "is_aggr_type" to check "base_class.1", -so no error is reported for code like: - +Check whether a typedef for a basic type as a baseclass is diagnosed. */ - typedef int an_int; - class bar : public an_int {}; +typedef int an_int; +class bar : public an_int {}; // ERROR - -- 2.7.4