android13/external/clang/test/ASTMerge/Inputs/anonymous-fields2.cpp

10 lines
128 B
C++
Raw Normal View History

2024-06-22 08:45:49 -04:00
class A {
public:
struct { int foo; } f;
struct { int foo; } g;
};
inline int useA(A &a) {
return (a.f.foo + a.g.foo);
}