This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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" }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]