diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-12-31 08:27:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-12-31 08:27:32 +0000 |
commit | 103dae42d7b2f017c3c7b88286ca440f6e240530 (patch) | |
tree | 2066d48e76585f62419d385a75b0e830fe80cfe0 /clang/test/FixIt/typo.cpp | |
parent | 532e68f1f32e4bcea69c9b1c558511ba010a8a2f (diff) | |
download | bcm5719-llvm-103dae42d7b2f017c3c7b88286ca440f6e240530.tar.gz bcm5719-llvm-103dae42d7b2f017c3c7b88286ca440f6e240530.zip |
Add another typo test for nested-name-specifiers
llvm-svn: 92351
Diffstat (limited to 'clang/test/FixIt/typo.cpp')
-rw-r--r-- | clang/test/FixIt/typo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/FixIt/typo.cpp b/clang/test/FixIt/typo.cpp index fb714263925..f869826dc3b 100644 --- a/clang/test/FixIt/typo.cpp +++ b/clang/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'?}} } |