| 1 | struct S; |
| 2 | |
| 3 | struct T |
| 4 | { |
| 5 | int S::* s_mptr; |
| 6 | int T::* t_mptr; |
| 7 | static int T::* static_mptr; |
| 8 | |
| 9 | template<int S::*> void f(); |
| 10 | template<int T::*> void f(); |
| 11 | |
| 12 | template<int (S::*)()> void f(); |
| 13 | template<int (T::*)()> void f(); |
| 14 | |
| 15 | struct N |
| 16 | { |
| 17 | int S::* s_mptr; |
| 18 | int T::* t_mptr; |
| 19 | int N::* n_mptr; |
| 20 | }; |
| 21 | int N::* n_mptr; |
| 22 | }; |
| 23 | |
| 24 | int T::* T::static_mptr = 0; |
| 25 | template<int T::*> void T::f() {} |
no outgoing calls