It was implemented by me in D18183 and
looks broken from begining, because visibility attributes
were not applied properly to symbols before this patch.
I also removed one of symbols from testcase because
it looks was a silly copypaste, not sure what I wanted to test initially
with it.