summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/iwide/classes.adb
diff options
context:
space:
mode:
authorJerome Guitton <guitton@adacore.com>2012-11-29 16:30:45 +0000
committerJerome Guitton <guitton@adacore.com>2012-11-29 16:30:45 +0000
commitcdde3dfbdafeee2a2da88fa1da0628ced7f68709 (patch)
tree61405122757e994c0e0ac4e8fe48b81d63db5c38 /gdb/testsuite/gdb.ada/iwide/classes.adb
parentac4a2da45da0729c656d0d7d9fca5b661ba69fcd (diff)
downloadbinutils-gdb-cdde3dfbdafeee2a2da88fa1da0628ced7f68709.tar.gz
New testcase for interface type printing.
gdb/testsuite/ChangeLog: * gdb.ada/iwide: New testcase.
Diffstat (limited to 'gdb/testsuite/gdb.ada/iwide/classes.adb')
-rw-r--r--gdb/testsuite/gdb.ada/iwide/classes.adb23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/iwide/classes.adb b/gdb/testsuite/gdb.ada/iwide/classes.adb
new file mode 100644
index 00000000000..5af1114b21d
--- /dev/null
+++ b/gdb/testsuite/gdb.ada/iwide/classes.adb
@@ -0,0 +1,23 @@
+-- Copyright 2012 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/>.
+
+package body Classes is
+
+ procedure Draw (R : Circle) is
+ begin
+ null;
+ end Draw;
+
+end Classes;