mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Addressing a post-commit review comment suggesting to avoid using direct initialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229512 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1115b2c27e
commit
fc25a7429b
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user