1 | struct Y { |
---|---|
2 | int m; |
3 | double f; |
4 | } y2; |
5 | enum E { e2 }; |
6 | |
7 | template<typename T> |
8 | struct F { |
9 | int n; |
10 | friend bool operator==(const F &a, const F &b) { return a.n == b.n; } |
11 | }; |
12 | |
13 | int g() { |
14 | return y2.m + e2 + y2.f + (F<int>{0} == F<int>{1}); |
15 | } |
16 |