test for #1104: Package private function is reported unused if not used in the file where defined