summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/c.math
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/numerics/c.math')
-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 9e10690e3ca..24908ff03dc 100644
--- a/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp
+++ b/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp
@@ -14,6 +14,7 @@
int main()
{
std::complex<double> cd;
+ (void)cd;
double x = std::sin(0);
((void)x); // Prevent unused warning
}
OpenPOWER on IntegriCloud