blob: 0c025f6159c7ce4657d437d5188684fdb8d174e6 [file] [log] [blame]
onqtamb43aa042017-03-13 19:04:08 +02001#define DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL
ncihnegnc5458f22019-01-28 05:08:18 -08002#include <doctest/doctest.h>
onqtamb43aa042017-03-13 19:04:08 +02003
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