t / chainlint / inline-comment.teston commit Merge tag 'v2.23.0-rc2' of git://git.kernel.org/pub/scm/git/git (d6d5cbf)
   1(
   2# LINT: swallow inline comment (leaving command intact)
   3        foobar && # comment 1
   4# LINT: mispositioned "&&" (correctly) swallowed with comment
   5        barfoo # wrong position for &&
   6# LINT: "#" in string not misinterpreted as comment
   7        flibble "not a # comment"
   8) &&
   9
  10# LINT: "#" in string in cuddled subshell not misinterpreted as comment
  11(cd foo &&
  12        flibble "not a # comment")