This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PR c++/6936] Delete duplicate test
- From: Nathan Sidwell <nathan at acm dot org>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 Nov 2019 09:39:42 -0500
- Subject: [PR c++/6936] Delete duplicate test
6936 and using38 are the same test. Deleting one of them.
nathan
--
Nathan Sidwell
2019-11-12 Nathan Sidwell <nathan@acm.org>
* g++.dg/lookup/pr6936.C: Delete, identical to using38.C
Index: g++.dg/lookup/pr6936.C
===================================================================
--- g++.dg/lookup/pr6936.C (revision 278094)
+++ g++.dg/lookup/pr6936.C (working copy)
@@ -1,23 +0,0 @@
-// { dg-do compile }
-// PR c++/6936
-
-struct Baser
-{
- enum { j, i }; // { dg-message "declared" }
-};
-
-struct Base : Baser
-{
- static void j();
- static void i();
-};
-
-struct Derv : Base
-{
- using Baser::j;
-private:
- using Baser::i;
-};
-
-int k = Derv::j;
-int l = Derv::i; // { dg-error "context" }