mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
* Add --tvos option to swift-ios-test utility * Mark failing tests appropriately * Add support for TVOS predicates to stdlib unit tests <rdar://problem/19854476> Swift: TV OS Testing Support Swift SVN r28543
10 lines
244 B
Swift
10 lines
244 B
Swift
// RUN: %target-run-simple-swift | FileCheck %s
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import Foundation
|
|
|
|
let value: CUnsignedInt = 0xFF00FF00
|
|
// CHECK: {{^}}ff00ff00 ff00ff{{$}}
|
|
print("\(String(value, radix: 16)) \(String(NSSwapInt(value), radix: 16))")
|