diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-12-31 08:26:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-12-31 08:26:35 +0000 |
commit | 532e68f1f32e4bcea69c9b1c558511ba010a8a2f (patch) | |
tree | ab297720a5801c9031087a029ebd094eef28c7e0 /clang/test/FixIt/typo.cpp | |
parent | d5bace7092b94f8d872dd05fe59de33e1928e6de (diff) | |
download | bcm5719-llvm-532e68f1f32e4bcea69c9b1c558511ba010a8a2f.tar.gz bcm5719-llvm-532e68f1f32e4bcea69c9b1c558511ba010a8a2f.zip |
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
Diffstat (limited to 'clang/test/FixIt/typo.cpp')
-rw-r--r-- | clang/test/FixIt/typo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |