No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.cp / rtti.h
blobc3249252f0927e7e757ddbf3d9dd51ffdc29ff8e
1 /* Code to go along with tests in rtti.exp.
3 Copyright 2003, 2004 Free Software Foundation, Inc.
5 Contributed by David Carlton <carlton@bactrian.org> and by Kealia,
6 Inc.
8 This file is part of GDB.
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or (at
13 your option) any later version.
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place - Suite 330,
23 Boston, MA 02111-1307, USA. */
25 namespace n2 {
27 class C2;
29 class Base2 {
30 public:
31 virtual ~Base2() { }
35 class C2: public Base2 {
36 public:
39 class D2 : public C2{
40 public:
41 D2(C2 *, C2 *);
43 C2* expr_1_;
44 C2* expr_2_;
47 extern C2 *create2();
49 namespace n3 {
50 class C3 : public C2 {
51 public:
55 extern n3::C3 *create3();