summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-02-07 20:08:36 +0000
committerXinliang David Li <davidxl@google.com>2016-02-07 20:08:36 +0000
commit879e14330eae9b34f460673e5a06c0ab1671d19a (patch)
tree7bb88e98184bd6ab0a5d9be55ea27e5abbb8b490
parente5c9b5fe5c95d862749bfb8c59770121d4a4ff67 (diff)
downloadbcm5719-llvm-879e14330eae9b34f460673e5a06c0ab1671d19a.tar.gz
bcm5719-llvm-879e14330eae9b34f460673e5a06c0ab1671d19a.zip
Test update : tighten up checks
llvm-svn: 260052
-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