Skip to content

Commit 84f12e2

Browse files
committed
Update test expectations
1 parent eeb9f0d commit 84f12e2

20 files changed

Lines changed: 23 additions & 0 deletions

‎tests/unit/lambda_as_field.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

45
template <typename F> struct Guard {

‎tests/unit/lambda_as_template_argument.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// translation-fail
12
#include <assert.h>
23

34
template <typename F> int apply_int(F fn, int x) { return fn(x); }

‎tests/unit/lambda_capture_copy_ctor.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// no-compile: refcount
2+
// panic: unsafe
13
#include <assert.h>
24
#include <utility>
35

‎tests/unit/lambda_capture_implicit.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// panic
12
#include <assert.h>
23

34
int main() {

‎tests/unit/lambda_capture_star_this.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// no-compile: refcount
2+
// panic: unsafe
13
#include <assert.h>
24

35
struct S {

‎tests/unit/lambda_capture_this.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// no-compile: refcount
12
#include <assert.h>
23

34
struct S {

‎tests/unit/lambda_capture_value.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// no-compile
12
#include <assert.h>
23

34
struct S {

‎tests/unit/lambda_decltype_type.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

45
template <typename Cmp> struct Sorted {

‎tests/unit/lambda_generic.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// translation-fail
12
#include <assert.h>
23

34
int main() {

‎tests/unit/lambda_generic_explicit_args.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// translation-fail
12
#include <assert.h>
23

34
struct Val {

0 commit comments

Comments
 (0)