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

16 lines
176 B
C

#include "../hedley.h"
static int* b;
HEDLEY_PURE
static int taxi(int a) {
return
(a * a * a) +
(*b * *b * *b);
}
int main(void) {
*b = 10;
return taxi(9);
}