components/inline: removed uneeded code

The inliner should not worry about constants, its task is to insert the function body properly.
tests/components/inline: made a proper component-specific test