summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/special/class.inhctor/p4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX/special/class.inhctor/p4.cpp')
-rw-r--r--clang/test/CXX/special/class.inhctor/p4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CXX/special/class.inhctor/p4.cpp b/clang/test/CXX/special/class.inhctor/p4.cpp
index 356cdef687f..ae1f7a57031 100644
--- a/clang/test/CXX/special/class.inhctor/p4.cpp
+++ b/clang/test/CXX/special/class.inhctor/p4.cpp
@@ -43,8 +43,8 @@ FA fa2{X<2>{}}; // expected-error {{calling a private constructor}}
// It is deleted if the corresponding constructor [...] is deleted.
struct G {
- G(int) = delete; // expected-note {{function has been explicitly marked deleted here}}
- template<typename T> G(T*) = delete; // expected-note {{function has been explicitly marked deleted here}}
+ G(int) = delete; // expected-note {{'G' has been explicitly marked deleted here}}
+ template<typename T> G(T*) = delete; // expected-note {{'G<const char>' has been explicitly marked deleted here}}
};
struct H : G {
using G::G; // expected-note 2{{deleted constructor was inherited here}}
OpenPOWER on IntegriCloud