summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-11 20:00:07 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-11 20:00:07 +0000
commit24536536ac51aad219a3cb9f6d13e36c851418a9 (patch)
tree25def49ef57c66b3d4874b4db2cb9f6538bff178
parentb03a76b6c78720701201acfdc65e340f62381db4 (diff)
downloadgcc-24536536ac51aad219a3cb9f6d13e36c851418a9.tar.gz
New test from PR #3123
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44803 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/g++.dg/inherit/namespace-as-base.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/inherit/namespace-as-base.C b/gcc/testsuite/g++.dg/inherit/namespace-as-base.C
new file mode 100644
index 00000000000..5dc28acedf3
--- /dev/null
+++ b/gcc/testsuite/g++.dg/inherit/namespace-as-base.C
@@ -0,0 +1,9 @@
+// { dg-do compile }
+
+namespace Out {
+ namespace In {
+ }
+}
+
+class Class : public Out::In { // { dg-error "*" "" { xfail *-*-* } }
+};