From 630a5bdf06d59b8340fb4bfc0e692cbcf094026a Mon Sep 17 00:00:00 2001 From: mzuenni Date: Thu, 10 Jul 2025 17:40:18 +0200 Subject: run with sanitizer --- test/util.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/util.h') diff --git a/test/util.h b/test/util.h index 6f23b82..8de393d 100644 --- a/test/util.h +++ b/test/util.h @@ -4,6 +4,13 @@ using namespace std; #define all(x) std::begin(x), std::end(x) #define sz(x) (ll)std::size(x) +#ifdef SANITIZE + constexpr bool sanitize = true; +#else + constexpr bool sanitize = false; +#endif + + using ll = long long; using lll = __int128; using ld = long double; -- cgit v1.2.3