summaryrefslogtreecommitdiffstats
path: root/Source/Checks/cm_cxx_filesystem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Checks/cm_cxx_filesystem.cxx')
-rw-r--r--Source/Checks/cm_cxx_filesystem.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Checks/cm_cxx_filesystem.cxx b/Source/Checks/cm_cxx_filesystem.cxx
new file mode 100644
index 0000000..e508d1c
--- /dev/null
+++ b/Source/Checks/cm_cxx_filesystem.cxx
@@ -0,0 +1,10 @@
+
+#include <filesystem>
+
+int main()
+{
+ std::filesystem::path p1("/a/b/c");
+ std::filesystem::path p2("/a/b/c");
+
+ return p1 == p2 ? 0 : 1;
+}