diff options
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers')
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp | 1 | ||||
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp index 0e3fd3e990b..4effd9653e5 100644 --- a/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp @@ -14,4 +14,5 @@ int main() { std::complex<double> d; + (void)d; } diff --git a/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp index 965a8de3c56..91727b6cc72 100644 --- a/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp @@ -14,6 +14,7 @@ int main() { std::complex<double> cd; + (void)cd; double x = sin(1.0); (void)x; // to placate scan-build } |