summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-non-pod-memset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/warn-non-pod-memset.cpp')
-rw-r--r--clang/test/SemaCXX/warn-non-pod-memset.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/warn-non-pod-memset.cpp b/clang/test/SemaCXX/warn-non-pod-memset.cpp
index 9023793bd52..6b017f338b0 100644
--- a/clang/test/SemaCXX/warn-non-pod-memset.cpp
+++ b/clang/test/SemaCXX/warn-non-pod-memset.cpp
@@ -30,13 +30,13 @@ void test_warn() {
// expected-warning {{destination for this memset call is a pointer to a non-POD type}} \
// expected-note {{explicitly cast the pointer to silence this warning}}
memset(&x3, 0, sizeof x3); // \
- // expected-warning {{destination for this memset call is a pointer to a non-POD type}} \
+ // expected-warning {{destination for this memset call is a pointer to a dynamic class}} \
// expected-note {{explicitly cast the pointer to silence this warning}}
memset(&x4, 0, sizeof x4); // \
// expected-warning {{destination for this memset call is a pointer to a non-POD type}} \
// expected-note {{explicitly cast the pointer to silence this warning}}
memset(&x5, 0, sizeof x5); // \
- // expected-warning {{destination for this memset call is a pointer to a non-POD type}} \
+ // expected-warning {{destination for this memset call is a pointer to a dynamic class}} \
// expected-note {{explicitly cast the pointer to silence this warning}}
}
OpenPOWER on IntegriCloud