[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / Inputs / odr / a.h
blob5a3f52409486ea577890016f9d1206ea319a8b80
1 extern struct Y {
2 int n;
3 float f;
4 } y1;
5 enum E { e1 };
7 struct X {
8 int n;
9 } x1;
11 template<typename T>
12 struct F {
13 int n;
14 friend bool operator==(const F &a, const F &b) { return a.n == b.n; }
17 int f() {
18 return y1.n + e1 + y1.f + x1.n;