// ============================================================================ // // Test Name: MFLK0401.H // // Suite: IBM VisualAge C++ Member Function Linkage Keyword Bucket // // Product: IBM VisualAge C++ Version 3.0 // // Author: P. Ng // // ---------------------------------------------------------------------------- // // Tested Op/Func: // // - Linkage consistency test // - this header file is used by testcases with consistent and with // non-consistent linkage keywords in member function // declaration/definition. // // ---------------------------------------------------------------------------- // // Modification History: // // Date Init Ver Ref # Description // --------- ---- ---- -------- -------------------------------------- // 21.Aug.95 PNG 1.00 43277 Initial creation // // ============================================================================ class LK_none { int i_none; // dummy variable public: float mf MF_ARGS(); }; class LK_opt { int i_opt; // dummy variable public: float _Optlink mf MF_ARGS(); }; class LK_sys { int i_sys; // dummy variable public: float _System mf MF_ARGS(); }; class LK_stdcall { int i_stdcall; // dummy variable public: float __stdcall mf MF_ARGS(); }; class LK_cdecl { int i_cdecl; // dummy variable public: float __cdecl mf MF_ARGS(); }; class LK_pas { int i_pas; // dummy variable public: float _Pascal mf MF_ARGS(); };