aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/virtfunc.cc
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-06-12 01:20:50 +0000
committerMichael Chastain <mec@google.com>2004-06-12 01:20:50 +0000
commit0bbed51abea947abdf463daffbd1303581c2006b (patch)
tree5c1cb8abeb731f8559eb93505901b0c63cf1f062 /gdb/testsuite/gdb.cp/virtfunc.cc
parent2d92b4e1632aaedb76f94c43b04ca0551f66204b (diff)
downloadfsf-binutils-gdb-0bbed51abea947abdf463daffbd1303581c2006b.zip
fsf-binutils-gdb-0bbed51abea947abdf463daffbd1303581c2006b.tar.gz
fsf-binutils-gdb-0bbed51abea947abdf463daffbd1303581c2006b.tar.bz2
2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.cc: Add copyright notice.
Diffstat (limited to 'gdb/testsuite/gdb.cp/virtfunc.cc')
-rw-r--r--gdb/testsuite/gdb.cp/virtfunc.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/virtfunc.cc b/gdb/testsuite/gdb.cp/virtfunc.cc
index 005de9d..0757ae7 100644
--- a/gdb/testsuite/gdb.cp/virtfunc.cc
+++ b/gdb/testsuite/gdb.cp/virtfunc.cc
@@ -1,3 +1,23 @@
+/* This test script is part of GDB, the GNU debugger.
+
+ Copyright 1993, 1994, 1997, 1998, 1999, 2003, 2004,
+ Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
// Pls try the following program on virtual functions and try to do print on
// most of the code in main(). Almost none of them works !