diff options
Diffstat (limited to 'test/profile')
-rw-r--r-- | test/profile/Inputs/extern_template.h | 2 | ||||
-rw-r--r-- | test/profile/Linux/coverage_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/profile/Inputs/extern_template.h b/test/profile/Inputs/extern_template.h index d08592da0..aa59f6c1e 100644 --- a/test/profile/Inputs/extern_template.h +++ b/test/profile/Inputs/extern_template.h @@ -3,7 +3,7 @@ template <typename T> struct Test { void doIt(int N) { // CHECK: [[@LINE]]| 2| void doIt if (N > 10) { // CHECK: [[@LINE]]| 2| if (N > 10) { M += 2; // CHECK: [[@LINE]]| 1| M += 2; - } else // CHECK: [[@LINE]]| 2| } else + } else // CHECK: [[@LINE]]| 1| } else M -= 2; // CHECK: [[@LINE]]| 1| M -= 2; } T M; diff --git a/test/profile/Linux/coverage_test.cpp b/test/profile/Linux/coverage_test.cpp index e636e5559..67adeb724 100644 --- a/test/profile/Linux/coverage_test.cpp +++ b/test/profile/Linux/coverage_test.cpp @@ -19,7 +19,7 @@ void foo(bool cond) { // CHECK: [[@LINE]]| 1|void foo( if (cond) { // CHECK: [[@LINE]]| 1| if (cond) { - } // CHECK: [[@LINE]]| 1| } + } // CHECK: [[@LINE]]| 0| } } // CHECK: [[@LINE]]| 1|} void bar() { // CHECK: [[@LINE]]| 1|void bar() { } // CHECK: [[@LINE]]| 1|} |