1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Addressing a post-commit review comment suggesting to avoid using direct initialization.

llvm-svn: 229512
This commit is contained in:
Aaron Ballman 2015-02-17 16:57:05 +00:00
parent 0117b06b3f
commit 49e7dd6b8e

View File

@ -91,7 +91,7 @@ TEST(ArrayRefTest, ConstConvert) {
}
TEST(ArrayRefTest, InitializerList) {
ArrayRef<int> A{ 0, 1, 2, 3, 4 };
ArrayRef<int> A = { 0, 1, 2, 3, 4 };
for (int i = 0; i < 5; ++i)
EXPECT_EQ(i, A[i]);
}