mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
297 B
Swift
11 lines
297 B
Swift
// RUN: rm -rf %t && mkdir %t
|
|
// RUN: %target-build-swift -module-name FactoryTest %s -o %t/a.out
|
|
// RUN: %target-run %t/a.out | FileCheck %s
|
|
// REQUIRES: OS=macosx
|
|
|
|
import AppKit
|
|
|
|
let service = NSSharingService(named: NSSharingServiceNamePostOnTwitter)
|
|
// CHECK: Twitter
|
|
println(service.title)
|