The commit that put in that comment already has a test. test/files/run/t4869.scala