diff options
Diffstat (limited to 'libcxx/test/std/numerics/c.math/ctgmath.pass.cpp')
-rw-r--r-- | libcxx/test/std/numerics/c.math/ctgmath.pass.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp b/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp new file mode 100644 index 00000000000..278217e0484 --- /dev/null +++ b/libcxx/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); +} |