From 9cef856478cebe4bfe00e1d39c9e2d49015dd0e4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 9 Jan 2024 21:47:33 +0100 Subject: MP-UX/hCore Assembler for 64x0, Release I. Signed-off-by: Amlal El Mahrouss --- ...d-function-expression-with-pointer-capture.cpp2 | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 64x0/cc2/regression-tests/mixed-function-expression-with-pointer-capture.cpp2 (limited to '64x0/cc2/regression-tests/mixed-function-expression-with-pointer-capture.cpp2') diff --git a/64x0/cc2/regression-tests/mixed-function-expression-with-pointer-capture.cpp2 b/64x0/cc2/regression-tests/mixed-function-expression-with-pointer-capture.cpp2 deleted file mode 100644 index 3d72d7a..0000000 --- a/64x0/cc2/regression-tests/mixed-function-expression-with-pointer-capture.cpp2 +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include -#include -#include -#include -#include - -main: () -> int = { - vec: std::vector - = ("hello", "2023"); - - y: std::string = "\n"; - std::ranges::for_each( vec, :(x) = - std::cout << y&$*.c_str() << x << y&$* - ); - - callback := :(inout x) = x += "-ish"; - std::ranges::for_each( vec, callback ); - - for vec do (str) - std::cout << str << "\n"; -} -- cgit v1.2.3