1 // Test that non-variadic function calls using thunks work right.
6 A (const A& a): p (a.p) { }
11 virtual void BaseFunc();
16 virtual A MixinFunc(int arg, A arg2) = 0;
19 class CExample : public CBase, public MMixin {
21 A MixinFunc(int arg, A arg2);
24 void CBase::BaseFunc()
28 A CExample::MixinFunc(int arg, A arg2)
30 if (arg != 1 || arg2.p != 0)
35 void* test(MMixin& anExample)
37 return anExample.MixinFunc(1,A(0)).p;