mainvar == 1
overriddenvar == 2
shlibvar1 == 3
shlib_shlibvar1 () == 3
shlib_shlibvar2 () == 4
shlib_shlibcall () == 5
main_called () == 6
shlib_check () == 1