   expectNotNil(str)
   expectEqual(str?.isEmpty, true)
   c = 100
-  #if os(Linux)
-  expectCrashLater()
-  #else
-  expectCrashLater(
-    withMessage: "input of String.init(validatingUTF8:) must be null-terminated"
-  )
-  #endif
+  expectCrashLater(
+    // Workaround for https://bugs.swift.org/browse/SR-16103 (rdar://91365967)
+    // withMessage: "input of String.init(validatingUTF8:) must be null-terminated"
+  )
   str = String(validatingUTF8: &c)
   expectUnreachable()
 }

    }
  }
  // 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
  _ = String(cString: [] as [CChar])
  expectUnreachable()
}

    }
  }
  // no need to test every case; that is covered in other tests
  expectCrashLater(
    // Workaround for https://bugs.swift.org/browse/SR-16103 (rdar://91365967)
    // withMessage: "input of decodeCString(_:as:repairingInvalidCodeUnits:) must be null-terminated"
  )
  _ = String.decodeCString([], as: Unicode.UTF8.self)
  expectUnreachable()
}
