Skip to content

Commit

Permalink
Update apple-clang-14 tests (hsutter#894)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarzec authored Dec 18, 2023
1 parent dc7e10c commit b81c80f
Show file tree
Hide file tree
Showing 20 changed files with 52 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Bounds safety violation: out of bounds access attempt detected
Bounds safety violation: out of bounds access attempt detected - attempted index 5, [min,max] range is [0,4]
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mixed-captures-in-expressions-and-postconditions.cpp2:12:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(vec, callback);
~~~~~~~~~~~~~^
mixed-captures-in-expressions-and-postconditions.cpp2:14:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(std::move(vec), std::move(callback));
~~~~~~~~~~~~~^
2 errors generated.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mixed-function-expression-and-std-for-each.cpp2:12:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(
~~~~~~~~~~~~~^
mixed-function-expression-and-std-for-each.cpp2:19:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(
~~~~~~~~~~~~~^
2 errors generated.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mixed-function-expression-and-std-ranges-for-each-with-capture.cpp2:13:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each
~~~~~~~~~~~~~^
mixed-function-expression-and-std-ranges-for-each-with-capture.cpp2:17:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(vec, std::move(callback));
~~~~~~~~~~~~~^
2 errors generated.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mixed-function-expression-and-std-ranges-for-each.cpp2:12:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each
~~~~~~~~~~~~~^
mixed-function-expression-and-std-ranges-for-each.cpp2:16:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(vec, std::move(callback));
~~~~~~~~~~~~~^
2 errors generated.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mixed-function-expression-with-pointer-capture.cpp2:13:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(vec, [_0 = (&y)](auto const& x) mutable -> void {
~~~~~~~~~~~~~^
mixed-function-expression-with-pointer-capture.cpp2:18:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(vec, std::move(callback));
~~~~~~~~~~~~~^
2 errors generated.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mixed-function-expression-with-repeated-capture.cpp2:13:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each
~~~~~~~~~~~~~^
mixed-function-expression-with-repeated-capture.cpp2:17:18: error: no member named 'for_each' in namespace 'std::ranges'
std::ranges::for_each(vec, std::move(callback));
~~~~~~~~~~~~~^
2 errors generated.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
12234
12234
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ while_break_outer:
00 inner 01

do_continue_inner:
00 inner 01 02 inner 03 inner outer 10 inner 11 12 inner 13 inner outer 20 inner 21 22 inner 23 inner outer 30 inner 31 32 inner 33 inner outer
00 inner 01 02 inner outer 10 inner 11 12 inner outer 20 inner 21 22 inner outer
do_continue_outer:
00 inner 01 10 inner 11 20 inner 21 30 inner 31
00 inner 01 10 inner 11 20 inner 21
do_break_inner:
00 inner 01 outer 10 inner 11 outer 20 inner 21 outer 30 inner 31 outer
00 inner 01 outer 10 inner 11 outer 20 inner 21 outer
do_break_outer:
00 inner 01

Expand Down
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1
2
4
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12345123451234512345
Empty file.

0 comments on commit b81c80f

Please sign in to comment.