libdpf/thirdparty/hedley/test/assume.c
Ryan Henry e4e666f459 Initial import of libdpf.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 14:08:32 -06:00

11 lines
139 B
C

#include "../hedley.h"
static int foo(int x) {
HEDLEY_ASSUME(x < 10 && x > 0);
return x % 10;
}
int main(void) {
return foo(5);
}