summaryrefslogtreecommitdiff
path: root/test/SemaCXX/attr-deprecated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/attr-deprecated.cpp')
-rw-r--r--test/SemaCXX/attr-deprecated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/attr-deprecated.cpp b/test/SemaCXX/attr-deprecated.cpp
index fe7c833d322be..945aff363eb15 100644
--- a/test/SemaCXX/attr-deprecated.cpp
+++ b/test/SemaCXX/attr-deprecated.cpp
@@ -198,7 +198,7 @@ namespace test6 {
};
void testA() {
A x; // expected-warning {{'A' is deprecated}}
- x = a0;
+ x = a0; // expected-warning {{'A' is deprecated}}
}
enum B {
@@ -218,7 +218,7 @@ namespace test6 {
};
void testC() {
C<int>::Enum x; // expected-warning {{'Enum' is deprecated}}
- x = C<int>::c0;
+ x = C<int>::c0; // expected-warning {{'Enum' is deprecated}}
}
template <class T> struct D {