anchor.diff:             "-spec t() -> 9 and 4.\n"
              "t() -> 0.\n">>,
       ok = file:write_file(FileName, C2),
  -    {error,[{_,[{3,erl_lint,{type_syntax,integer}}]}],_} =
  +    {error,[{_,[{{3,16},erl_lint,{type_syntax,integer}}]}],_} =
           compile:file(FileName, [return]),
   
       ok.
  
positive.code:           "-record s, {a :: integer()}.\n"
            "-type t() :: {#r{},#s{}}.\n">>,
      ok = file:write_file(FileName, C),
      {error,[{_,[{3,erl_parse,["syntax error before: ","')'"]}]}],_} =
          compile:file(FileName, [return]),
  
      F = <<"-module(otp_8567).\n"
  
negative.code:           "-compile export_all.\n"
            "-type m() :: #{..., a := integer()}.\n">>,
      ok = file:write_file(FileName, C),
      {error,[{_,[{{3,16},erl_parse,["syntax error before: ","'...'"]}]}],_} =
          compile:file(FileName, [return]),
  
      ok.
  