From: Douglas Gregor Date: Tue, 29 Jun 2010 19:17:14 +0000 (+0000) Subject: Fix broken testcase X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed8407692d47833abddd31a8cf30bf560e771c9b;p=clang Fix broken testcase git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107194 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FixIt/typo.cpp b/test/FixIt/typo.cpp index 9393ce13da..077aa9c6f7 100644 --- a/test/FixIt/typo.cpp +++ b/test/FixIt/typo.cpp @@ -13,7 +13,7 @@ namespace std { } namespace otherstd { // expected-note 2{{'otherstd' declared here}} \ - // expected-note 2{{namespace 'otherstd' defined here}} + // expected-note{{namespace 'otherstd' defined here}} using namespace std; } @@ -31,7 +31,7 @@ float area(float radius, // expected-note{{'radius' declared here}} } using namespace othestd; // expected-error{{no namespace named 'othestd'; did you mean 'otherstd'?}} -namespace blargh = otherstd; // expected-note 2{{namespace 'blargh' defined here}} +namespace blargh = otherstd; // expected-note 3{{namespace 'blargh' defined here}} using namespace ::blarg; // expected-error{{no namespace named 'blarg' in the global namespace; did you mean 'blargh'?}} namespace wibble = blarg; // expected-error{{no namespace named 'blarg'; did you mean 'blargh'?}}