From 1ed35ff558abf6422990e224d46cf2cbeae02da2 Mon Sep 17 00:00:00 2001 From: Nana Sakisaka <1901813+saki7@users.noreply.github.com> Date: Wed, 18 Feb 2026 20:52:18 +0900 Subject: [PATCH 1/2] Remove unused function --- test/x4/debug.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/x4/debug.cpp b/test/x4/debug.cpp index 25dd52d64..244d930cc 100644 --- a/test/x4/debug.cpp +++ b/test/x4/debug.cpp @@ -57,12 +57,6 @@ struct my_attribute { alive = false; } - - friend std::ostream& operator<<(std::ostream & os, my_attribute const & attr) - { - attr.access(); - return os << "my_attribute"; - } }; } // anonymous From 3005842654675d94f76af9581920ebc052732fe4 Mon Sep 17 00:00:00 2001 From: Nana Sakisaka <1901813+saki7@users.noreply.github.com> Date: Wed, 18 Feb 2026 20:53:23 +0900 Subject: [PATCH 2/2] Fix chaining of `>>` and `>` --- test/x4/expect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/x4/expect.cpp b/test/x4/expect.cpp index 1721decaf..86fe5b483 100644 --- a/test/x4/expect.cpp +++ b/test/x4/expect.cpp @@ -375,7 +375,7 @@ TEST_CASE("expect") { alloy::tuple attr; - X4_TEST_ATTR_SUCCESS_PASS(" a, b, c", char_ >> ',' > char_ >> ',' > char_, space, attr); + X4_TEST_ATTR_SUCCESS_PASS(" a, b, c", char_ >> ',' >> expect[char_] >> ',' >> expect[char_], space, attr); CHECK((alloy::get<0>(attr) == 'a')); CHECK((alloy::get<1>(attr) == 'b')); CHECK((alloy::get<2>(attr) == 'c'));