summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/profile/Linux/coverage_ctors.cpp5
-rw-r--r--compiler-rt/test/profile/Linux/coverage_dtor.cpp5
2 files changed, 4 insertions, 6 deletions
diff --git a/compiler-rt/test/profile/Linux/coverage_ctors.cpp b/compiler-rt/test/profile/Linux/coverage_ctors.cpp
index 336cf147ca1..cb8b1207870 100644
--- a/compiler-rt/test/profile/Linux/coverage_ctors.cpp
+++ b/compiler-rt/test/profile/Linux/coverage_ctors.cpp
@@ -15,10 +15,9 @@ struct Base {
};
struct Derived : public Base {
- Derived(const Derived &) = default; // CHECK: 2| [[@LINE]]| Derived
- Derived() = default; // CHECK: 1| [[@LINE]]| Derived
+ Derived(const Derived &) = default; // CHECK: 2| [[@LINE]]| Derived(const Derived &) = default;
+ Derived() = default; // CHECK: 1| [[@LINE]]| Derived() = default
int I;
- int J;
int getI() { return I; }
};
diff --git a/compiler-rt/test/profile/Linux/coverage_dtor.cpp b/compiler-rt/test/profile/Linux/coverage_dtor.cpp
index b24bfb8a4a4..8a4a039bee2 100644
--- a/compiler-rt/test/profile/Linux/coverage_dtor.cpp
+++ b/compiler-rt/test/profile/Linux/coverage_dtor.cpp
@@ -10,10 +10,9 @@ struct Base {
};
struct Derived : public Base {
- Derived(int K) : Base(K), I(K), J(K) {}
- ~Derived() = default; // CHECK: 2| [[@LINE]]| ~Derived
+ Derived(int K) : Base(K), I(K) {}
+ ~Derived() = default; // CHECK: 2| [[@LINE]]| ~Derived() = default;
int I;
- int J;
int getI() { return I; }
};
OpenPOWER on IntegriCloud