* ru.po: Update.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using40.C
blob1bcdd0dbf5e31933fbfb4d5496f85132f4f92319
1 // { dg-do compile }
3 struct Base
5     void f();
6     typedef int type;
7     struct Type {};
8     int i;
9     static int j;
12 struct A : Base
14     using Base::f; // { dg-message "previous declaration" }
15     using Base::f; // { dg-error "redeclaration" }
17     using Base::type; // { dg-message "previous declaration" }
18     using Base::type; // { dg-error "redeclaration" }
20     using Base::Type; // { dg-message "previous declaration" }
21     using Base::Type; // { dg-error "redeclaration" }
23     using Base::i; // { dg-message "previous declaration" }
24     using Base::i; // { dg-error "redeclaration" }
26     using Base::j; // { dg-message "previous declaration" }
27     using Base::j; // { dg-error "redeclaration" }