Commit 32da68d07 for llama.cpp
commit 32da68d07783210475f622c2a9ac0dc004b3d570
Author: Pascal <admin@serveurperso.com>
Date: Thu Dec 3 08:33:05 2026 +0100
tests: make local consts static for MSVC (#33587)
diff --git a/tests/test-jinja.cpp b/tests/test-jinja.cpp
index dcb13b23d..04dba91bd 100644
--- a/tests/test-jinja.cpp
+++ b/tests/test-jinja.cpp
@@ -3088,8 +3088,8 @@ static void test_string_parts(testing & t) {
});
t.test("custom mark bitfield", [](testing & t) {
- constexpr uint32_t MARK_A = 1u << 1;
- constexpr uint32_t MARK_B = 1u << 2;
+ static constexpr uint32_t MARK_A = 1u << 1;
+ static constexpr uint32_t MARK_B = 1u << 2;
static auto render_marked = [](const std::string & tmpl) -> jinja::string {
jinja::lexer lexer;
jinja::program ast = jinja::parse_from_tokens(lexer.tokenize(tmpl));