diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-06-29 19:17:14 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-06-29 19:17:14 +0000 |
commit | ed8407692d47833abddd31a8cf30bf560e771c9b (patch) | |
tree | dccc883a923c3ce6fa1fbef03dc5778457eeb836 | |
parent | 0e8c4b9fac447c6c9849e3ef8beb1ef273ac0f97 (diff) |
Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107194 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FixIt/typo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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'?}} |