Skip to content

Commit 86bf45d

Browse files
committed
Update tests
1 parent 728b9ae commit 86bf45d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎tests/unit/lambda_immediate_init.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ int pick(int x = [] { return 237; }()) { return x; }
55
struct S {
66
int j = 10;
77
// Below will only work after: https://github.com/Cpp2Rust/cpp2rust/issues/248
8-
//int i = [this]() { return j * 2; }();
8+
// int i = [this]() { return j * 2; }();
99
int k = [] { return 3; }() + 1;
1010
};
1111

‎tests/unit/lambda_to_fn_ptr.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// ADDITIONAL_COMPILE_FLAGS: -std=c++23
2+
// no-compile
23
#include <assert.h>
34
#include <stdarg.h>
45

0 commit comments

Comments
 (0)