aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/exception_test.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-26 05:44:38 +0000
committerIan Lance Taylor <iant@google.com>2007-09-26 05:44:38 +0000
commit3151305a47fc17a35bc76cc50578b3e8f9b93d9d (patch)
tree7579f01394de3af6a03a35d162ae8c59fefaf9a8 /gold/testsuite/exception_test.h
parent4dffcebc10670489b064181a62e9588e72fb566a (diff)
downloadgdb-3151305a47fc17a35bc76cc50578b3e8f9b93d9d.zip
gdb-3151305a47fc17a35bc76cc50578b3e8f9b93d9d.tar.gz
gdb-3151305a47fc17a35bc76cc50578b3e8f9b93d9d.tar.bz2
Add basic exception frame header, plus test.
Diffstat (limited to 'gold/testsuite/exception_test.h')
-rw-r--r--gold/testsuite/exception_test.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/gold/testsuite/exception_test.h b/gold/testsuite/exception_test.h
new file mode 100644
index 0000000..1f5c74f
--- /dev/null
+++ b/gold/testsuite/exception_test.h
@@ -0,0 +1,27 @@
+// exception_test.h -- exception test case for gold, header file -*- C++ -*-
+
+// Copyright 2006, 2007 Free Software Foundation, Inc.
+// Written by Ian Lance Taylor <iant@google.com>.
+
+// This file is part of gold.
+
+// 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 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., 51 Franklin Street - Fifth Floor, Boston,
+// MA 02110-1301, USA.
+
+// This tests references between files. This is the shared header
+// file. See exception_test_1.cc for details.
+
+extern bool t1();
+extern void f1();