[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / Inputs / odr / b.h
bloba4a693df2bf1cd8dae893522ab8f35b41747cf97
1 struct Y {
2 int m;
3 double f;
4 } y2;
5 enum E { e2 };
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; }
13 int g() {
14 return y2.m + e2 + y2.f + (F<int>{0} == F<int>{1});