summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/use_cmath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/XcodeProject/use_cmath.cpp')
-rw-r--r--Tests/RunCMake/XcodeProject/use_cmath.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/use_cmath.cpp b/Tests/RunCMake/XcodeProject/use_cmath.cpp
new file mode 100644
index 0000000..8a58af5
--- /dev/null
+++ b/Tests/RunCMake/XcodeProject/use_cmath.cpp
@@ -0,0 +1,6 @@
+#include <cmath>
+
+bool foo(double arg)
+{
+ return std::isfinite(arg);
+}