Update Copyright year range in all files maintained by GDB.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / virtfunc.cc
index 0757ae78ecd1cf100c68e3361013223c95f5cf72..b7fc8e82b74e4dab4210c8421809a19d7b092e15 100644 (file)
@@ -1,22 +1,19 @@
 /* This test script is part of GDB, the GNU debugger.
 
-   Copyright 1993, 1994, 1997, 1998, 1999, 2003, 2004,
-   Free Software Foundation, Inc.
+   Copyright 1993-2014 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
+   the Free Software Foundation; either version 3 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.
-   */
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 // 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 !
@@ -112,6 +109,7 @@ D   d;
 E   e;
 V   v;
 VB  vb;
+VA  va;
 
 
 A*     pAa     =       &a;
@@ -183,19 +181,9 @@ void test_calls()
         TEST(pEe->D::vg(), 102);
        printf("Did %d tests, of which %d failed.\n", all_count, failed_count);
 }
-#ifdef usestubs
-extern "C" {
-  void set_debug_traps();
-  void breakpoint();
-};
-#endif
 
 int main()
 {
-#ifdef usestubs
-   set_debug_traps();
-   breakpoint();
-#endif
     init();
 
     e.w = 7;
This page took 0.027856 seconds and 4 git commands to generate.