code: def test_broken_symlink(tmp_dir, dvc, M):
      from dvc.fs import system
  
      tmp_dir.gen("file", "content")
      system.symlink("file", "link")
  
      os.remove("file")
  
      entries = Repo.ls(os.fspath(tmp_dir))
  
      assert entries == [
          {
              "isout": False,
              "isdir": False,
              "isexec": False,
              "path": ".dvcignore",
              "size": M.instance_of(int),
          },
          {
              "isout": False,
              "isdir": False,
              "isexec": False,
              "path": "link",
              "size": 0,
          },
      ]
  
imports: import os
  import shutil
  import textwrap
  from operator import itemgetter
  import pytest
  from dvc.repo import Repo
  from dvc.scm import CloneError
label_desc: Use image node_id 32 for calling a global function with example usage: test_broken_symlink(tmp_dir, dvc, M) without return types