diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/FixIt/fixit.cpp | 2 | ||||
-rw-r--r-- | test/Parser/cxx-using-declaration.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/FixIt/fixit.cpp b/test/FixIt/fixit.cpp index 9a2acd33e0..e9b4d75a6a 100644 --- a/test/FixIt/fixit.cpp +++ b/test/FixIt/fixit.cpp @@ -211,7 +211,7 @@ class Foo { public: enum Bar { X, Y }; void SetBar(Bar bar); - Bar Bar(); // expected-note 2 {{non-type 'Bar' shadowing enum 'Bar' declared here}} + Bar Bar(); // expected-note 2 {{enum 'Bar' is hidden by a non-type declaration of 'Bar' here}} private: Bar bar_; // expected-error {{must use 'enum' tag to refer to type 'Bar' in this scope}} }; diff --git a/test/Parser/cxx-using-declaration.cpp b/test/Parser/cxx-using-declaration.cpp index 8c60b9b7a2..320fd09e55 100644 --- a/test/Parser/cxx-using-declaration.cpp +++ b/test/Parser/cxx-using-declaration.cpp @@ -51,7 +51,7 @@ namespace foo { class Bar {}; } -void Bar(int); // expected-note{{non-type 'Bar' shadowing class 'Bar' declared here}} +void Bar(int); // expected-note{{class 'Bar' is hidden by a non-type declaration of 'Bar' here}} using foo::Bar; void ambiguity() { |