[test] Adjust String tests for UTF-8 representation.

Adjust tests for the UTF-8 representation, in preparation for 32-bit
support. Includes UTF-8 literal update.
This commit is contained in:
Michael Ilseman
2018-10-28 17:15:17 -07:00
parent cb0fbc6fc7
commit e6582c37ee
22 changed files with 485 additions and 246 deletions

View File

@@ -2,6 +2,8 @@
// RUN: %gyb -D_runtime=%target-runtime %s -o %t/main.swift
// RUN: %line-directive %t/main.swift -- %target-swift-frontend -typecheck -verify %t/main.swift
// REQUIRES: rdar44572521
func test_StringSubscriptByInt(
x: String,
i: Int,