[PR c++/6936] Delete duplicate test
authorNathan Sidwell <nathan@acm.org>
Tue, 12 Nov 2019 14:40:52 +0000 (14:40 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 12 Nov 2019 14:40:52 +0000 (14:40 +0000)
https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00926.html
* g++.dg/lookup/pr6936.C: Delete, identical to using38.C

From-SVN: r278096

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr6936.C [deleted file]

index f9d59b018bc3a63ca86e878df3655d87db5bae0b..41e8f43e4aa67c314def19fa4535d7c0d7c4cb8d 100644 (file)
@@ -1,3 +1,7 @@
+2019-11-12  Nathan Sidwell  <nathan@acm.org>
+
+       * g++.dg/lookup/pr6936.C: Delete, identical to using38.C
+
 2019-11-12  Ilya Leoshkevich  <iii@linux.ibm.com>
 
        PR rtl-optimization/92430
diff --git a/gcc/testsuite/g++.dg/lookup/pr6936.C b/gcc/testsuite/g++.dg/lookup/pr6936.C
deleted file mode 100644 (file)
index 7139ee1..0000000
+++ /dev/null
@@ -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" }