diff options
author | Zeex <zeex@rocketmail.com> | 2018-09-07 18:53:56 +0600 |
---|---|---|
committer | Zeex <zeex@rocketmail.com> | 2018-09-07 22:05:54 +0600 |
commit | 3a61f8f2700862fba0eceeb51381f006816bad5e (patch) | |
tree | f992083bf01b1511445b1c9a17544a9b41d40ce7 /tests/foo_main.cpp | |
parent | f348fb52a83438a20223c25b2f149039f9a2d32b (diff) | |
download | subhook-3a61f8f2700862fba0eceeb51381f006816bad5e.zip subhook-3a61f8f2700862fba0eceeb51381f006816bad5e.tar.gz subhook-3a61f8f2700862fba0eceeb51381f006816bad5e.tar.bz2 |
Fix C++ test crash because of misaligned stack
Diffstat (limited to 'tests/foo_main.cpp')
-rw-r--r-- | tests/foo_main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/foo_main.cpp b/tests/foo_main.cpp new file mode 100644 index 0000000..b49a3cc --- /dev/null +++ b/tests/foo_main.cpp @@ -0,0 +1,6 @@ +extern "C" void foo(void); + +int main() { + foo(); + return 0; +} |