Skip to content

Commit

Permalink
add defect that LIBCXX_HARDENING_MODE=fast catches (without harden)
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Jul 25, 2024
1 parent 9e5b99d commit b84fab4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libraries/libfc/test/crypto/test_k1_recover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ std::ostream& operator<<(std::ostream& st, const std::variant<fc::k1_recover_err
BOOST_AUTO_TEST_SUITE(k1_recover)
BOOST_AUTO_TEST_CASE(recover) try {

std::optional<int> yum;
*yum;

using test_k1_recover = std::tuple<std::string, std::string, std::variant<fc::k1_recover_error, bytes>>;
const std::vector<test_k1_recover> tests {
//test
Expand Down Expand Up @@ -67,4 +70,4 @@ BOOST_AUTO_TEST_CASE(recover) try {

} FC_LOG_AND_RETHROW();

BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_SUITE_END()

0 comments on commit b84fab4

Please sign in to comment.