2 /* { dg-options "-O3" } */
7 A (const A &) : p () {}
11 virtual void BaseFunc () {}
15 virtual A MixinFunc (int, A) = 0;
18 struct CExample: CBase, public MMixin
20 A MixinFunc (int arg, A arg2)
22 if (arg != 1 || arg2.p)
28 void *test (MMixin & anExample)
30 return anExample.MixinFunc (1, (0)).p;