diff options
Diffstat (limited to 'clang/test/SemaCXX/class.cpp')
-rw-r--r-- | clang/test/SemaCXX/class.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/class.cpp b/clang/test/SemaCXX/class.cpp index 08391c9ba1a..44ec70f07c2 100644 --- a/clang/test/SemaCXX/class.cpp +++ b/clang/test/SemaCXX/class.cpp @@ -20,7 +20,7 @@ public: int b : 1, w : 2; int : 1, : 2; - typedef int E : 1; // expected-error {{error: cannot declare 'E' to be a bit-field type}} + typedef int E : 1; // expected-error {{typedef member 'E' cannot be a bit-field}} static int sb : 1; // expected-error {{error: static member 'sb' cannot be a bit-field}} static int vs; |