Skip to content

Commit 97257d7

Browse files
committed
[Clang][P1061] Revert change to typo correction test
1 parent d064095 commit 97257d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/SemaCXX/typo-correction-crash.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ FooRecord::NestedNamespace::type x; // expected-error {{no member named 'NestedN
3232

3333
void cast_expr(int g) { +int(n)(g); } // expected-error {{undeclared identifier 'n'}}
3434

35-
void bind() { for (const auto& [test,_] : _test_) { }; } // expected-error {{undeclared identifier '_test_'}} \
36-
// expected-note {{'test' declared here}}
35+
void bind() { for (const auto& [test,_] : _test_) { }; } // expected-error {{undeclared identifier '_test_'}}
3736

3837
namespace NoCrash {
3938
class S {

0 commit comments

Comments
 (0)