From ed049f2741a2b1b0643a7cdc537a746da7d73335 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 21 Dec 2023 20:35:22 +0200 Subject: [PATCH] Add a test that includes before mp11.hpp. Refs #88. --- test/Jamfile | 1 + test/complex_h.cpp | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 test/complex_h.cpp diff --git a/test/Jamfile b/test/Jamfile index 1d8252d..8fc035c 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -23,6 +23,7 @@ project # include-only compile mp11.cpp ; +compile complex_h.cpp ; # list run mp_size.cpp ; diff --git a/test/complex_h.cpp b/test/complex_h.cpp new file mode 100644 index 0000000..63d2675 --- /dev/null +++ b/test/complex_h.cpp @@ -0,0 +1,12 @@ +// Copyright 2023 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +#define _SILENCE_CXX17_C_HEADER_DEPRECATION_WARNING + +#include +#include + +int main() +{ +}