From ee6a45b13be54cb5f56df5bfc6d7666089c30683 Mon Sep 17 00:00:00 2001 From: Vighnesh Date: Fri, 11 Oct 2024 13:46:54 -0700 Subject: [PATCH] more macro madness --- tests/TypeVar.test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TypeVar.test.cpp b/tests/TypeVar.test.cpp index 1d8db6bb..9210c098 100644 --- a/tests/TypeVar.test.cpp +++ b/tests/TypeVar.test.cpp @@ -466,7 +466,10 @@ TEST_CASE("proof_that_isBoolean_uses_all_of") TEST_CASE("content_reassignment") { #pragma GCC diagnostic push + +#if !defined(__has_warning) || __has_warning("-Wmaybe-uninitialized") #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" +#endif Type myAny{AnyType{}, /*presistent*/ true}; myAny.documentationSymbol = "@global/any"; #pragma GCC diagnostic pop