From 532e68f1f32e4bcea69c9b1c558511ba010a8a2f Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 31 Dec 2009 08:26:35 +0000 Subject: Typo correction for identifiers within nested name specifiers, e.g., typo.cpp:18:1: error: use of undeclared identifier 'other_std'; did you mean 'otherstd'? other_std::strng str1; ^~~~~~~~~ otherstd llvm-svn: 92350 --- clang/test/FixIt/typo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/test/FixIt') diff --git a/clang/test/FixIt/typo.cpp b/clang/test/FixIt/typo.cpp index a7cc0332fce..fb714263925 100644 --- a/clang/test/FixIt/typo.cpp +++ b/clang/test/FixIt/typo.cpp @@ -15,7 +15,8 @@ namespace otherstd { using namespace std; -otherstd::strng str1; // expected-error{{no type named 'strng' in namespace 'otherstd'; did you mean 'string'?}} +other_std::strng str1; // expected-error{{use of undeclared identifier 'other_std'; did you mean 'otherstd'?}} \ +// 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'?}} float area(float radius, float pi) { -- cgit v1.2.3