i've been messing around with compiler explorer and in C if i pass a function pointer to a static inline function to another function inside the same translation unit then both msvc and gcc seem to inline the static inline function's body

my question is, how much can i rely on this behavior?

@eniko depends if you're fine with only supporting compilers with this optimisation, though generally it isn't exactly a complex one to have, so for you, i think it's fine to rely on