blob: 475878323cd340b55b42165948d649f111b36ffc [file] [log] [blame]
onqtamb43aa042017-03-13 19:04:08 +02001#define DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL
2#include "doctest.h"
3
onqtamabf39d22017-10-28 21:30:45 +03004DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_BEGIN
onqtamb43aa042017-03-13 19:04:08 +02005#include <cstdio>
onqtamabf39d22017-10-28 21:30:45 +03006DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END
onqtam4a655632016-05-26 14:20:52 +03007
8TEST_CASE("dll") {
9 printf("I am a test from the dll!\n");
10}
11
onqtamb43aa042017-03-13 19:04:08 +020012DOCTEST_SYMBOL_EXPORT void from_dll(); // to silence "-Wmissing-declarations" with GCC
13DOCTEST_SYMBOL_EXPORT void from_dll() {} // force the creation of a .lib file with MSVC