summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/null_array/pck.ads
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-01-09 17:05:26 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-01-09 17:05:26 +0000
commit65cedc30e96cac4f48f294973dfa9a2ca9bd0057 (patch)
tree0a630c1e7e1b4e7d456a0c6ac79f9988b99767b9 /gdb/testsuite/gdb.ada/null_array/pck.ads
parent1f03ece87250b73d43d2fb4f2c23214f6b34d2d4 (diff)
downloadgdb-65cedc30e96cac4f48f294973dfa9a2ca9bd0057.tar.gz
* gdb.ada/null_array: New test program.
* gdb.ada/null_array.exp: New testcase.
Diffstat (limited to 'gdb/testsuite/gdb.ada/null_array/pck.ads')
-rw-r--r--gdb/testsuite/gdb.ada/null_array/pck.ads24
1 files changed, 24 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/null_array/pck.ads b/gdb/testsuite/gdb.ada/null_array/pck.ads
new file mode 100644
index 00000000000..9173fd2f8a3
--- /dev/null
+++ b/gdb/testsuite/gdb.ada/null_array/pck.ads
@@ -0,0 +1,24 @@
+-- Copyright 2008 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 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, see <http://www.gnu.org/licenses/>.
+
+with System;
+
+package Pck is
+
+ function Ident (I : Integer) return Integer;
+
+ procedure Do_Nothing (A : System.Address);
+
+end Pck;