diff options
-rw-r--r-- | test/FixIt/typo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/FixIt/typo.cpp b/test/FixIt/typo.cpp index fb71426392..f869826dc3 100644 --- a/test/FixIt/typo.cpp +++ b/test/FixIt/typo.cpp @@ -19,6 +19,8 @@ other_std::strng str1; // expected-error{{use of undeclared identifier 'other_st // expected-error{{no type named 'strng' in namespace 'otherstd'; did you mean 'string'?}} tring str2; // expected-error{{unknown type name 'tring'; did you mean 'string'?}} +::other_std::string str3; // expected-error{{no member named 'other_std' in the global namespace; did you mean 'otherstd'?}} + float area(float radius, float pi) { return radious * pi; // expected-error{{use of undeclared identifier 'radious'; did you mean 'radius'?}} } |