Lets say i have two inline functions in my header file:
inline int foo() { return bar()+2; }
inline int bar() { return 3; }
can i assume that a C99 compiler will inline "foo" even if 'bar' is declared later? Assuming that no other internal rule like function body to large is triggered.
Are implementations of c compilers doing this (popular ones say Intel-C/Sun Studio/MSVC and gcc) even if C99 leave this as an option?