diff options
Diffstat (limited to 'test/std/numerics/c.math/ctgmath.pass.cpp')
-rw-r--r-- | test/std/numerics/c.math/ctgmath.pass.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/std/numerics/c.math/ctgmath.pass.cpp b/test/std/numerics/c.math/ctgmath.pass.cpp new file mode 100644 index 0000000000000..278217e048401 --- /dev/null +++ b/test/std/numerics/c.math/ctgmath.pass.cpp @@ -0,0 +1,22 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// + +// <ctgmath> + +#include <ctgmath> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ + std::complex<double> cd; + double x = std::sin(0); +} |