diff options
Diffstat (limited to 'test/tools/llvm-cov/showHighlightedRanges.cpp')
-rw-r--r-- | test/tools/llvm-cov/showHighlightedRanges.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/tools/llvm-cov/showHighlightedRanges.cpp b/test/tools/llvm-cov/showHighlightedRanges.cpp index cec7308..1ff7929 100644 --- a/test/tools/llvm-cov/showHighlightedRanges.cpp +++ b/test/tools/llvm-cov/showHighlightedRanges.cpp @@ -2,17 +2,17 @@ void func() { return; - int i = 0; // CHECK: Highlighted line [[@LINE]], 3 -> 12 -} + int i = 0; // CHECK: Highlighted line [[@LINE]], 3 -> ? +} // CHECK: Highlighted line [[@LINE]], 1 -> 2 void func2(int x) { if(x > 5) { while(x >= 9) { return; - --x; // CHECK: Highlighted line [[@LINE]], 7 -> 10 - } - int i = 0; // CHECK: Highlighted line [[@LINE]], 5 -> 14 - } + --x; // CHECK: Highlighted line [[@LINE]], 7 -> ? + } // CHECK: Highlighted line [[@LINE]], 1 -> 6 + int i = 0; // CHECK: Highlighted line [[@LINE]], 5 -> ? + } // CHECK: Highlighted line [[@LINE]], 1 -> 4 } void test() { |