1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 00:15:59 +01:00

Fixed cpp test specifying calling convention.

This commit is contained in:
James Fraser
2018-12-14 20:15:43 +11:00
parent 96827e3a39
commit f38b06e939

View File

@@ -71,7 +71,11 @@ namespace cxx
// original declaration.
namespace cxx
{
#ifndef TEST_WITH_CALLING_CONVENTIONS
FAKE_VOID_FUNC(voidfunc1, cxx::int_t);
#else
FAKE_VOID_FUNC(_cdecl, voidfunc1, cxx::int_t);
#endif
}
TEST_F(FFFTestSuite, cxx_fake_is_called)