aboutsummaryrefslogtreecommitdiff
path: root/test/std/numerics/c.math/version_cmath.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/numerics/c.math/version_cmath.pass.cpp')
-rw-r--r--test/std/numerics/c.math/version_cmath.pass.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/std/numerics/c.math/version_cmath.pass.cpp b/test/std/numerics/c.math/version_cmath.pass.cpp
new file mode 100644
index 000000000000..1249a902e7af
--- /dev/null
+++ b/test/std/numerics/c.math/version_cmath.pass.cpp
@@ -0,0 +1,20 @@
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// <cmath>
+
+#include <cmath>
+
+#ifndef _LIBCPP_VERSION
+#error _LIBCPP_VERSION not defined
+#endif
+
+int main()
+{
+}