summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/ErrorOrTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Support/ErrorOrTest.cpp')
-rw-r--r--llvm/unittests/Support/ErrorOrTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/ErrorOrTest.cpp b/llvm/unittests/Support/ErrorOrTest.cpp
index 5e8d442a703..73d0e3f2bb7 100644
--- a/llvm/unittests/Support/ErrorOrTest.cpp
+++ b/llvm/unittests/Support/ErrorOrTest.cpp
@@ -67,8 +67,8 @@ TEST(ErrorOr, Covariant) {
}
TEST(ErrorOr, Comparison) {
- ErrorOr<int> x(std::errc::no_such_file_or_directory);
- EXPECT_EQ(x, std::errc::no_such_file_or_directory);
+ ErrorOr<int> x(errc::no_such_file_or_directory);
+ EXPECT_EQ(x, errc::no_such_file_or_directory);
}
// ErrorOr<int*> x(nullptr);
OpenPOWER on IntegriCloud