Clang Project

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