Support/PathV2: Add native implementation.
llvm-svn: 120539
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index 823b078..8570047 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/unittests/Support/Path.cpp
@@ -107,6 +107,9 @@
if (error_code ec = sys::path::replace_extension(temp_store, "ext"))
ASSERT_FALSE(ec.message().c_str());
outs() << " replace_extension: " << temp_store << '\n';
+ if (error_code ec = sys::path::native(*i, temp_store))
+ ASSERT_FALSE(ec.message().c_str());
+ outs() << " native: " << temp_store << '\n';
outs().flush();
}