diff mbox series

[PR,c++/6936] Delete duplicate test

Message ID 9545cee9-8ad0-34b0-f448-e149ab22f0f0@acm.org
State New
Headers show
Series [PR,c++/6936] Delete duplicate test | expand

Commit Message

Nathan Sidwell Nov. 12, 2019, 2:39 p.m. UTC
6936 and using38 are the same test.  Deleting one of them.

nathan
diff mbox series

Patch

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