aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-typeof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx-typeof.cpp')
-rw-r--r--test/Parser/cxx-typeof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx-typeof.cpp b/test/Parser/cxx-typeof.cpp
index 4c598e9517..1ec6e29b13 100644
--- a/test/Parser/cxx-typeof.cpp
+++ b/test/Parser/cxx-typeof.cpp
@@ -9,5 +9,5 @@ static void test() {
// Part of rdar://problem/8347416; from the gcc test suite.
struct S {
int i;
- __typeof(S::i) foo(); // expected-error {{invalid use of nonstatic data member 'i'}}
+ __typeof(S::i) foo(); // expected-error {{invalid use of non-static data member 'i'}}
};