]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ASTMerge/Inputs/anonymous-fields2.cpp
Vendor import of clang 3.9.1 release r289601:
[FreeBSD/FreeBSD.git] / test / ASTMerge / Inputs / anonymous-fields2.cpp
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 }