summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/odr/b.h
blob: a4a693df2bf1cd8dae893522ab8f35b41747cf97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct Y {
  int m;
  double f;
} y2;
enum E { e2 };

template<typename T>
struct F {
  int n;
  friend bool operator==(const F &a, const F &b) { return a.n == b.n; }
};

int g() {
  return y2.m + e2 + y2.f + (F<int>{0} == F<int>{1});
}
OpenPOWER on IntegriCloud