forked from boostorg/mp11
Add a test that includes <complex.h> before mp11.hpp. Refs #88.
This commit is contained in:
@@ -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
12
test/complex_h.cpp
Normal 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()
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user