summaryrefslogtreecommitdiff
path: root/test/std/numerics/c.math/ctgmath.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/numerics/c.math/ctgmath.pass.cpp')
-rw-r--r--test/std/numerics/c.math/ctgmath.pass.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/std/numerics/c.math/ctgmath.pass.cpp b/test/std/numerics/c.math/ctgmath.pass.cpp
index 278217e048401..9e10690e3cac4 100644
--- a/test/std/numerics/c.math/ctgmath.pass.cpp
+++ b/test/std/numerics/c.math/ctgmath.pass.cpp
@@ -11,12 +11,9 @@
#include <ctgmath>
-#ifndef _LIBCPP_VERSION
-#error _LIBCPP_VERSION not defined
-#endif
-
int main()
{
std::complex<double> cd;
double x = std::sin(0);
+ ((void)x); // Prevent unused warning
}