llvm-for-llvmta/tools/clang/test/ASTMerge/anonymous-fields/Inputs/anonymous-fields2.cpp

10 lines
128 B
C++

class A {
public:
struct { int foo; } f;
struct { int foo; } g;
};
inline int useA(A &a) {
return (a.f.foo + a.g.foo);
}