aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/attr-mode-tmpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/attr-mode-tmpl.cpp')
-rw-r--r--test/SemaCXX/attr-mode-tmpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/attr-mode-tmpl.cpp b/test/SemaCXX/attr-mode-tmpl.cpp
index d83bb3989050..f665b1ba4912 100644
--- a/test/SemaCXX/attr-mode-tmpl.cpp
+++ b/test/SemaCXX/attr-mode-tmpl.cpp
@@ -72,7 +72,7 @@ struct TemplatedStruct {
// expected-warning@-1{{deprecated}}
// Check attribute on methods - it is invalid.
- __attribute__((mode(QI))) T g1() { return 0; } // expected-error{{'mode' attribute only applies to variables, enums, fields and typedefs}}
+ __attribute__((mode(QI))) T g1() { return 0; } // expected-error{{'mode' attribute only applies to variables, enums, typedefs, and non-static data members}}
};