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