]>
Commit | Line | Data |
---|---|---|
52eccb8f JM |
1 | // Build don't link: |
2 | ||
3 | class A { | |
4 | protected: | |
5 | static void f() {}; | |
6 | }; | |
7 | ||
8 | class B : A { | |
9 | public: | |
10 | using A::f; | |
11 | void g() { | |
12 | f(); | |
13 | A::f(); | |
14 | } | |
15 | struct C { | |
16 | void g() { | |
17 | f(); | |
18 | A::f(); | |
19 | } | |
20 | }; | |
21 | }; |