     }
   }
   // no need to test every case; that is covered in other tests
-  #if os(Linux)
-  expectCrashLater()
-  #else
-  expectCrashLater(
-    withMessage: "input of String.init(cString:) must be null-terminated"
-  )
-  #endif
+  expectCrashLater(
+    // Workaround for https://bugs.swift.org/browse/SR-16103 (rdar://91365967)
+    // withMessage: "input of String.init(cString:) must be null-terminated"
+  )
   _ = String(cString: [] as [CChar])
   expectUnreachable()
 }

  var str = String(cString: &c)
  expectTrue(str.isEmpty)
  c = 100
  #if os(Linux)
  expectCrashLater()
  #else
  expectCrashLater(
    withMessage: "input of String.init(cString:) must be null-terminated"
  )
  #endif
  str = String(cString: &c)
  expectUnreachable()
}

  expectEqual(result?.result.isEmpty, true)
  expectEqual(result?.repairsMade, false)
  c = 100
  expectCrashLater(
    // Workaround for https://bugs.swift.org/browse/SR-16103 (rdar://91365967)
    // withMessage: "input of decodeCString(_:as:repairingInvalidCodeUnits:) must be null-terminated"
  )
  result = String.decodeCString(&c, as: Unicode.UTF8.self)
  expectUnreachable()
}
