   .code {
   var s = "abc"
   var i = s.utf16.startIndex
-  ++i
-  ++i
-  ++i
+  i = i.successor()
+  i = i.successor()
+  i = i.successor()
   expectCrashLater()
   s.utf16[i]
 }

  .code {
  var s = "abc"
  var i = s.utf16.startIndex
  --i
  expectCrashLater()
  s.utf16[i]
}

  .code {
  var s = "abc"
  var i = s.utf8.startIndex
  i = i.successor()
  i = i.successor()
  i = i.successor()
  expectCrashLater()
  i = i.successor()
}

StringTraps.test("UTF8ViewSubscript/endIndex")
