summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Bitcode
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-03-28 20:30:15 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-03-28 20:30:15 +0000
commit0afa32cd5977ec98f44c807c0426d779f3800b13 (patch)
tree8d41dee198f645f0e58d6e102b27fe3180c883d0 /llvm/unittests/Bitcode
parent653f9d0273cf44e54d4c110b1cf19ef6cfab47ba (diff)
downloadbcm5719-llvm-0afa32cd5977ec98f44c807c0426d779f3800b13.tar.gz
bcm5719-llvm-0afa32cd5977ec98f44c807c0426d779f3800b13.zip
Remove accidentally duplicated test
This was identical to setArtificialByteLimitNotWordBoundary. llvm-svn: 264646
Diffstat (limited to 'llvm/unittests/Bitcode')
-rw-r--r--llvm/unittests/Bitcode/BitstreamReaderTest.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/unittests/Bitcode/BitstreamReaderTest.cpp b/llvm/unittests/Bitcode/BitstreamReaderTest.cpp
index 2aa36ebed4f..c99239b48a4 100644
--- a/llvm/unittests/Bitcode/BitstreamReaderTest.cpp
+++ b/llvm/unittests/Bitcode/BitstreamReaderTest.cpp
@@ -140,19 +140,6 @@ TEST(BitstreamReaderTest, setArtificialByteLimitNotWordBoundary) {
EXPECT_EQ(8u, Cursor.getCurrentByteNo());
}
-TEST(BitstreamReaderTest, setArtificialByteLimitNot4ByteBoundary) {
- uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
- 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f};
- BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
- SimpleBitstreamCursor Cursor(Reader);
-
- Cursor.setArtificialByteLimit(5);
- while (!Cursor.AtEndOfStream())
- (void)Cursor.Read(1);
-
- EXPECT_EQ(8u, Cursor.getCurrentByteNo());
-}
-
TEST(BitstreamReaderTest, setArtificialByteLimitPastTheEnd) {
uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b};
OpenPOWER on IntegriCloud