Add test for Apple's -weak_framework linker argument
#118644
Merged
-weak_framework linker argument
#118644