diff options
Diffstat (limited to 'test/std/depr/depr.c.headers/complex.h.pass.cpp')
-rw-r--r-- | test/std/depr/depr.c.headers/complex.h.pass.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/std/depr/depr.c.headers/complex.h.pass.cpp b/test/std/depr/depr.c.headers/complex.h.pass.cpp new file mode 100644 index 0000000000000..da0707990d800 --- /dev/null +++ b/test/std/depr/depr.c.headers/complex.h.pass.cpp @@ -0,0 +1,21 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <complex.h> + +#include <complex.h> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ + std::complex<double> d; +} |