[cfe-commits] r92351 - /cfe/trunk/test/FixIt/typo.cpp

Douglas Gregor dgregor at apple.com
Thu Dec 31 00:27:32 PST 2009


Author: dgregor
Date: Thu Dec 31 02:27:32 2009
New Revision: 92351

URL: http://llvm.org/viewvc/llvm-project?rev=92351&view=rev
Log:
Add another typo test for nested-name-specifiers

Modified:
    cfe/trunk/test/FixIt/typo.cpp

Modified: cfe/trunk/test/FixIt/typo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/FixIt/typo.cpp?rev=92351&r1=92350&r2=92351&view=diff

==============================================================================
--- cfe/trunk/test/FixIt/typo.cpp (original)
+++ cfe/trunk/test/FixIt/typo.cpp Thu Dec 31 02:27:32 2009
@@ -19,6 +19,8 @@
 // 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'?}}
 }





More information about the cfe-commits mailing list