diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2022-12-05 10:19:37 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2022-12-05 10:19:37 +0300 |
commit | c1d96fef1377b9d0efb4c459479c59a1b96a0e10 (patch) | |
tree | 474b9c00d5df04f8abf06ce627d4cfedd027e279 | |
parent | 1a0be4a5afcc880c86888139b59bdb354a290a15 (diff) |
Fix test failure on AVR (C++ vs. the app_main() test run wrapper)
-rw-r--r-- | tests/regression/issue_838/enum_to_string.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regression/issue_838/enum_to_string.cxx b/tests/regression/issue_838/enum_to_string.cxx index 2fdcbfb..e377531 100644 --- a/tests/regression/issue_838/enum_to_string.cxx +++ b/tests/regression/issue_838/enum_to_string.cxx @@ -2,7 +2,7 @@ #include "unittests.h" #include "enum.pb.h" -int main() +extern "C" int main() { int status = 0; TEST(strcmp(MyEnum_name(MyEnum_VALUE1), "VALUE1") == 0); |