mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-25 23:45:36 +00:00
SmallString doesn't have implicit conversion from const char*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298019 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a965f8ecd
commit
bb8d9fb401
@ -1064,8 +1064,8 @@ TEST(Support, NormalizePath) {
|
||||
Tests.emplace_back("a\\", "a\\", "a/");
|
||||
|
||||
for (auto &T : Tests) {
|
||||
SmallString<64> Win = std::get<0>(T);
|
||||
SmallString<64> Posix = Win;
|
||||
SmallString<64> Win(std::get<0>(T));
|
||||
SmallString<64> Posix(Win);
|
||||
path::native(Win, path::Style::windows);
|
||||
path::native(Posix, path::Style::posix);
|
||||
EXPECT_EQ(std::get<1>(T), Win);
|
||||
|
Loading…
x
Reference in New Issue
Block a user