summaryrefslogtreecommitdiff
path: root/source/kit_test
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-09 22:10:12 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-09 22:10:12 +0400
commit487876477507038067ad3f019d58c257fc06dfda (patch)
tree1c7d1053bf8195fdead4790c9ed4b165d8bd4040 /source/kit_test
parent3c82a1f8fa015b74c8e0b426c21189acb95368fa (diff)
downloadkit-487876477507038067ad3f019d58c257fc06dfda.zip
Add noexcept for C++
Diffstat (limited to 'source/kit_test')
-rw-r--r--source/kit_test/test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit_test/test.h b/source/kit_test/test.h
index f8e79dc..176d957 100644
--- a/source/kit_test/test.h
+++ b/source/kit_test/test.h
@@ -45,10 +45,10 @@ extern kit_tests_list_t kit_tests_list;
#ifdef __cplusplus
# define KIT_TEST_ON_START_(f) \
- static void f(void); \
+ static void f(void) noexcept; \
static int KIT_TEST_CONCAT3_(_kit_test_init_, __LINE__, \
f) = (f(), 0); \
- static void f(void)
+ static void f(void) noexcept
#else
# ifdef _MSC_VER
# ifdef __cplusplus