cmake: apply -Werror to generated test TUs and fix exposed warnings (X-QA-01)

This commit is contained in:
faumaray committed 2026-12-03 16:57:22 +03:00
1 parent 65185f251c
commit 77a2bce73f
3 files changed
+16 -1

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ Void::Testing::Test bench_run_total_positive()
const auto r = run("work", 100, [] {
volatile int x = 0;
for (int i = 0; i < 100; ++i) x += i;
do_not_optimize(x);
}, 0);
Void::Testing::expect(r.total.count() >= 0);
}