1 // PR tree-optimization/22488
2 // This testcase is really a C++ FE bug in represnting virtual inheritance
3 // It gives the appearance to the middle end that the fields exist twice
4 // which resulted in a very confused structure analyzer
21 struct B : virtual A {};
27 void bar(X y) { x = y; }