diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-11 20:00:07 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-11 20:00:07 +0000 |
commit | 24536536ac51aad219a3cb9f6d13e36c851418a9 (patch) | |
tree | 25def49ef57c66b3d4874b4db2cb9f6538bff178 | |
parent | b03a76b6c78720701201acfdc65e340f62381db4 (diff) | |
download | gcc-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.C | 9 |
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 *-*-* } } +}; |