aboutsummaryrefslogtreecommitdiff
path: root/test/FixIt/typo-crash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/typo-crash.cpp')
-rw-r--r--test/FixIt/typo-crash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FixIt/typo-crash.cpp b/test/FixIt/typo-crash.cpp
index 2e6f34a2a0..c154e3baba 100644
--- a/test/FixIt/typo-crash.cpp
+++ b/test/FixIt/typo-crash.cpp
@@ -19,11 +19,11 @@ namespace PR12297 {
namespace B {
typedef short T;
- T global();
+ T global(); // expected-note {{'A::B::global' declared here}}
}
}
using namespace A::B;
- T A::global(); // expected-error{{out-of-line definition of 'global' does not match any declaration in namespace 'PR12297::A'}}
+ T A::global(); // expected-error {{out-of-line definition of 'global' does not match any declaration in namespace 'PR12297::A'; did you mean 'A::B::global'?}}
}