mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Escaping unicode characters results in invalid JSON. - Refactor writeEscaped routine into StringExtras Resolves rdar://90108531
6 lines
400 B
Swift
6 lines
400 B
Swift
// RUN: %target-swift-frontend -print-target-info -target arm64-apple-ios12.0 -sdk /Applications🙉/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk | %FileCheck %s
|
|
|
|
// CHECK: "target": {
|
|
// CHECK-NEXT: "triple": "arm64-apple-ios12.0",
|
|
// CHECK: "sdkPath": "/Applications🙉/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk",
|