diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-01-01 11:42:53 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-01-01 11:42:53 +0000 |
commit | 81c9b2cf53addc7224346ba857069417a1faf6bb (patch) | |
tree | 77aa81650b9c965f214b5a416f4a886bec3b12d8 /gdb/testsuite/gdb.ada/ref_param/foo.adb | |
parent | 969a136098c462168631b0f20bbe5e1fcb8176bb (diff) | |
download | gdb-81c9b2cf53addc7224346ba857069417a1faf6bb.zip gdb-81c9b2cf53addc7224346ba857069417a1faf6bb.tar.gz gdb-81c9b2cf53addc7224346ba857069417a1faf6bb.tar.bz2 |
* gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
gdb.ada/ref_param/pck.ads: New files.
* gdb.ada/ref_param.exp: New testcase.
Diffstat (limited to 'gdb/testsuite/gdb.ada/ref_param/foo.adb')
-rw-r--r-- | gdb/testsuite/gdb.ada/ref_param/foo.adb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/ref_param/foo.adb b/gdb/testsuite/gdb.ada/ref_param/foo.adb new file mode 100644 index 0000000..d0f4484 --- /dev/null +++ b/gdb/testsuite/gdb.ada/ref_param/foo.adb @@ -0,0 +1,22 @@ +-- 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 Pck; use Pck; + +procedure Foo is + D : Data := (1, 2, 3, 4, 5, 6); +begin + Call_Me (D); +end Foo; |