Skip to content

Commit

Permalink
Fixed cpp test specifying calling convention.
Browse files Browse the repository at this point in the history
  • Loading branch information
wulfgarpro committed Dec 14, 2018
1 parent 96827e3 commit f38b06e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/fff_test_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f38b06e

Please sign in to comment.