aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/term.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-02-02 18:07:58 +0000
committerPedro Alves <palves@redhat.com>2012-02-02 18:07:58 +0000
commit5f8cefd757a922ae0e5846d712d27d4650a4386b (patch)
treecd2f3a9e45310682f6ecd8d436e434912deeec67 /gdb/testsuite/gdb.base/term.c
parentda84f473b79b5e5f4359e60ac7424e007ea2b59e (diff)
downloadgdb-5f8cefd757a922ae0e5846d712d27d4650a4386b.zip
gdb-5f8cefd757a922ae0e5846d712d27d4650a4386b.tar.gz
gdb-5f8cefd757a922ae0e5846d712d27d4650a4386b.tar.bz2
2012-02-02 Pedro Alves <palves@redhat.com>
* gdb.base/term.exp: Rewrite. * gdb.base/term.c: New.
Diffstat (limited to 'gdb/testsuite/gdb.base/term.c')
-rw-r--r--gdb/testsuite/gdb.base/term.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/term.c b/gdb/testsuite/gdb.base/term.c
new file mode 100644
index 0000000..91d66ed
--- /dev/null
+++ b/gdb/testsuite/gdb.base/term.c
@@ -0,0 +1,21 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ 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/>. */
+
+int main ()
+{
+ return 0;
+}