summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/numerics/c.math/ctgmath.pass.cpp')
-rw-r--r--libcxx/test/std/numerics/c.math/ctgmath.pass.cpp1
1 files changed, 1 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
index 04a06280450..9e10690e3ca 100644
--- a/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp
+++ b/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp
@@ -15,4 +15,5 @@ int main()
{
std::complex<double> cd;
double x = std::sin(0);
+ ((void)x); // Prevent unused warning
}
OpenPOWER on IntegriCloud