From 5b8fc0fc6a103eafc4b7707f63d8f8b1351567be Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Mon, 23 Dec 2024 16:05:09 -0300 Subject: [PATCH] Fixed ASSUMPTIONS block not working correctly --- include/test/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/test/test.h b/include/test/test.h index 1a9d8a237ef6..ccfc589c214b 100644 --- a/include/test/test.h +++ b/include/test/test.h @@ -95,7 +95,7 @@ s32 Test_MgbaPrintf(const char *fmt, ...); #define ASSUMPTIONS \ static void Assumptions(void); \ - __attribute__((section(".tests"), used)) static const struct Test sAssumptions = \ + __attribute__((section(".tests"), used, no_reorder)) static const struct Test sAssumptions = \ { \ .name = "ASSUMPTIONS: " __FILE__, \ .filename = __FILE__, \