diff options
author | Zachary Turner <zturner@google.com> | 2016-07-08 16:57:14 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-07-08 16:57:14 +0000 |
commit | 352cfe41cd36e965f15f3f1b97c7ce672f82512b (patch) | |
tree | d62b2f1419f1ef9c5dd5ea3142e5aba9c3660e86 /llvm/unittests/DebugInfo | |
parent | 947ce6b59fa99389689f071c008895e335c7abf0 (diff) | |
download | bcm5719-llvm-352cfe41cd36e965f15f3f1b97c7ce672f82512b.tar.gz bcm5719-llvm-352cfe41cd36e965f15f3f1b97c7ce672f82512b.zip |
Try to fix compilation error in DebugInfoPDBTests.
llvm-svn: 274881
Diffstat (limited to 'llvm/unittests/DebugInfo')
-rw-r--r-- | llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp b/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp index a166d605fda..e54f7ab1250 100644 --- a/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp +++ b/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp @@ -317,7 +317,9 @@ TEST(MappedBlockStreamTest, TestWriteThenRead) { StringRef FStr[] = {"Fixed Str", ""}; uint8_t byteArray0[] = {'1', '2'}; uint8_t byteArray1[] = {'0', '0'}; - ArrayRef<uint8_t> byteArray[] = {byteArray0, byteArray1}; + ArrayRef<uint8_t> byteArrayRef0(byteArray0); + ArrayRef<uint8_t> byteArrayRef1(byteArray1); + ArrayRef<uint8_t> byteArray[] = { byteArrayRef0, byteArrayRef1 }; ArrayRef<uint32_t> intArray[] = {{890723408, 29082234}, {0, 0}}; StreamReader Reader(S); |