* fi.po: Update.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / pr6936.C
blob7139ee18e6d956e9d58a59271f443e2ae25751d0
1 // { dg-do compile }
2 // PR c++/6936
4 struct Baser
6     enum { j, i }; // { dg-message "declared" }
7 };
9 struct Base : Baser
11     static void j();
12     static void i();
15 struct Derv : Base
17   using Baser::j;
18 private:
19   using Baser::i;
22 int k = Derv::j;
23 int l = Derv::i; // { dg-error "context" }