Testing -flto, found type mismatch