Skip to content

Commit 30b5880

Browse files
authored
Update recovery.cpp
1 parent 15dde87 commit 30b5880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Parser/recovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ void k() {
226226
namespace GH136254 {
227227

228228
void call() {
229-
[a(42, )]() {} (); // expected-error {{expected expression}} expected-error {{invalid initializer type for lambda capture}}
229+
[a(42, )]() {} (); // expected-error {{expected expression}}
230230

231231
int *b = new int(42, ); // expected-error {{expected expression}}
232232

0 commit comments

Comments
 (0)