diff --git a/tests/.#TypeVar.test.cpp b/tests/.#TypeVar.test.cpp new file mode 120000 index 000000000..dded176fb --- /dev/null +++ b/tests/.#TypeVar.test.cpp @@ -0,0 +1 @@ +vvijay@HQ-VHWFGJQN04.96773 \ No newline at end of file diff --git a/tests/TypeVar.test.cpp b/tests/TypeVar.test.cpp index 9210c0989..57ec13671 100644 --- a/tests/TypeVar.test.cpp +++ b/tests/TypeVar.test.cpp @@ -465,14 +465,17 @@ 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 + TypeArena arena; TypeId futureAny = arena.addType(FreeType{TypeLevel{}});