2 // Test that non-variadic function calls using thunks work right.
7 A (const A& a): p (a.p) { }
12 virtual void BaseFunc();
17 virtual A MixinFunc(int arg, A arg2) = 0;
20 class CExample : public CBase, public MMixin {
22 A MixinFunc(int arg, A arg2);
25 void CBase::BaseFunc()
29 A CExample::MixinFunc(int arg, A arg2)
31 if (arg != 1 || arg2.p != 0)
36 void* test(MMixin& anExample)
38 return anExample.MixinFunc(1,A(0)).p;