[Unittests] Fix a build failure with clang 3.8. NFCI.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297423 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Davide Italiano 2017-03-09 23:48:58 +00:00
parent 06c6e46521
commit 96acf92927

View File

@ -69,7 +69,7 @@ TEST(STLExtrasTest, EnumerateLValue) {
// Test an empty range.
IntResults.clear();
const std::vector<int> baz;
const std::vector<int> baz{};
for (auto X : llvm::enumerate(baz)) {
IntResults.emplace_back(X.Index, X.Value);
}