Files
swift-mirror/test/Interpreter/SDK/header_static.swift
Chris Willmore 9ac141e21b Add TVOS device testing support to the Swift project:
* 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
2015-05-14 00:12:17 +00:00

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))")