xref: /llvm-project/clang/test/ASTMerge/anonymous-fields/Inputs/anonymous-fields2.cpp (revision ee6d3fa07eed0d3187ded0cbc63fdbbdc4a8480c)
1 class A {
2 public:
3   struct { int foo; } f;
4   struct { int foo; } g;
5 };
6 
7 inline int useA(A &a) {
8   return (a.f.foo + a.g.foo);
9 }
10