summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp')
-rw-r--r--libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp4
1 files changed, 3 insertions, 1 deletions
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 e9c48060508..28cf93ada0a 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
@@ -10,10 +10,12 @@
#include <tgmath.h>
-int main()
+int main(int, char**)
{
std::complex<double> cd;
(void)cd;
double x = sin(1.0);
(void)x; // to placate scan-build
+
+ return 0;
}
OpenPOWER on IntegriCloud