aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/expand-psymtabs-cxx.cc
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-10-21 16:31:17 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-10-21 16:31:17 +0000
commit5ed9db04f86f3eb360956052f6beea3aefd585aa (patch)
tree50f7c8fc5b6c3490a762e3127e89bca078d517ea /gdb/testsuite/gdb.cp/expand-psymtabs-cxx.cc
parentc293fa4964b4d28ba0ea1f2551ef633024a0160f (diff)
downloadgdb-5ed9db04f86f3eb360956052f6beea3aefd585aa.zip
gdb-5ed9db04f86f3eb360956052f6beea3aefd585aa.tar.gz
gdb-5ed9db04f86f3eb360956052f6beea3aefd585aa.tar.bz2
gdb/testsuite/
* gdb.cp/expand-psymtabs-cxx.exp: New file. * gdb.cp/expand-psymtabs-cxx.cc: New file.
Diffstat (limited to 'gdb/testsuite/gdb.cp/expand-psymtabs-cxx.cc')
-rw-r--r--gdb/testsuite/gdb.cp/expand-psymtabs-cxx.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/expand-psymtabs-cxx.cc b/gdb/testsuite/gdb.cp/expand-psymtabs-cxx.cc
new file mode 100644
index 0000000..f6642ed
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/expand-psymtabs-cxx.cc
@@ -0,0 +1,21 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 2011 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/>. */
+
+void
+method (long x)
+{
+}