summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2018-08-30 14:05:49 +0000
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2018-08-30 14:05:49 +0000
commit607a7be5328085e5ac2df28af129af307a428e89 (patch)
treec180ea30eefecedbdfeebe622cb2b8a83b60867a
parent8f0bf6c19af03da36dbcca969f3500fdd4619df9 (diff)
downloadbcm5719-llvm-607a7be5328085e5ac2df28af129af307a428e89.tar.gz
bcm5719-llvm-607a7be5328085e5ac2df28af129af307a428e89.zip
More build fix for r341064.
llvm-svn: 341070
-rw-r--r--llvm/unittests/Support/ErrorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/ErrorTest.cpp b/llvm/unittests/Support/ErrorTest.cpp
index d3d26df8ceb..25102895d20 100644
--- a/llvm/unittests/Support/ErrorTest.cpp
+++ b/llvm/unittests/Support/ErrorTest.cpp
@@ -870,7 +870,7 @@ TEST(Error, FileErrorTest) {
EXPECT_DEATH(
{
Error S = Error::success();
- createFileError("file.bin", std::move(S));
+ consumeError(createFileError("file.bin", std::move(S)));
},
"");
#endif
OpenPOWER on IntegriCloud