aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-12-26 16:39:33 +0100
committerSimon Warta <[email protected]>2016-01-11 16:20:31 +0100
commitbd7ae5416385c12437dbb1e8cf377e0e817e7a90 (patch)
treeea04970928130fd720dfba9f9587f6b9fa517560 /src/tests/tests.h
parent672d29570e55686b90126b5d6f5d337ddf0b8f04 (diff)
Get rid of "extra ';'" warnings and force semicolon after macros
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index f98194278..5a075975d 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -325,7 +325,8 @@ class Test
* Register the test with the runner
*/
#define BOTAN_REGISTER_TEST(type, Test_Class) \
- namespace { Test::Registration reg_ ## Test_Class ## _tests(type, new Test_Class); }
+ namespace { Test::Registration reg_ ## Test_Class ## _tests(type, new Test_Class); } \
+ BOTAN_FORCE_SEMICOLON
/*
* A test based on reading an input file which contains key/value pairs