1
0
forked from boostorg/mp11

Add a test that includes <complex.h> before mp11.hpp. Refs #88.

This commit is contained in:
Peter Dimov
2023-12-21 20:35:22 +02:00
parent e584d92a9f
commit ed049f2741
2 changed files with 13 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ project
# include-only
compile mp11.cpp ;
compile complex_h.cpp ;
# list
run mp_size.cpp ;

12
test/complex_h.cpp Normal file
View File

@@ -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 <complex.h>
#include <boost/mp11.hpp>
int main()
{
}