aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/nsalias.cc
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2013-11-13 12:33:34 -0800
committerKeith Seitz <keiths@redhat.com>2013-11-13 12:33:34 -0800
commit74921315b6734554793a37f7a152878c45b7d4ac (patch)
treebb2e70a9c14020eb5f9649202abc23f5e332e95b /gdb/testsuite/gdb.cp/nsalias.cc
parent793156e67263707a4184321d9154dea6ad99575a (diff)
downloadgdb-74921315b6734554793a37f7a152878c45b7d4ac.zip
gdb-74921315b6734554793a37f7a152878c45b7d4ac.tar.gz
gdb-74921315b6734554793a37f7a152878c45b7d4ac.tar.bz2
PR c++/7539
PR c++/10541 This patch fixes some namespace alias bugs reported in the above bugs. Links to all mailing list discussion: https://sourceware.org/ml/gdb-patches/2013-07/msg00649.html https://sourceware.org/ml/gdb-patches/2013-09/msg00557.html https://sourceware.org/ml/gdb-patches/2013-11/msg00156.html
Diffstat (limited to 'gdb/testsuite/gdb.cp/nsalias.cc')
-rw-r--r--gdb/testsuite/gdb.cp/nsalias.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/nsalias.cc b/gdb/testsuite/gdb.cp/nsalias.cc
new file mode 100644
index 0000000..be2dfbe
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/nsalias.cc
@@ -0,0 +1,23 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 2013 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;
+}
+