From 6c409a031946c069b7f8c33e7d71175563028afb Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 31 Dec 2009 08:27:32 +0000 Subject: [PATCH] Add another typo test for nested-name-specifiers git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92351 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FixIt/typo.cpp | 2 ++ 1 file changed, 2 insertions(+) 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'?}} } -- 2.50.1