mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 05:41:40 +00:00
GSYMTest::TestLineTable - check all LT1+LT2 comparisons.
PVS Studio was warning about "LT2 < LT2" but really we should be testing all permutations of LT1 and LT2.
This commit is contained in:
parent
10e761fa76
commit
c1f5f74bca
@ -853,7 +853,9 @@ TEST(GSYMTest, TestLineTable) {
|
||||
// Test that two empty line tables are equal and neither are less than
|
||||
// each other.
|
||||
ASSERT_EQ(LT1, LT2);
|
||||
ASSERT_FALSE(LT1 < LT1);
|
||||
ASSERT_FALSE(LT1 < LT2);
|
||||
ASSERT_FALSE(LT2 < LT1);
|
||||
ASSERT_FALSE(LT2 < LT2);
|
||||
|
||||
// Test that a line table with less number of line entries is less than a
|
||||
|
Loading…
Reference in New Issue
Block a user