blob: 6db4b8c625bcb19fb77eb972783e76085af3a008 [file] [log] [blame]
// RUN: %empty-directory(%t)
// RUN: %target-build-swift -module-name FactoryTest %s -o %t/a.out
// RUN: %target-run %t/a.out | %FileCheck %s
// REQUIRES: executable_test
// REQUIRES: OS=macosx
import AppKit
let image = NSImage(named: NSImageNameTrashEmpty)
// CHECK: TrashEmpty
print(image!.name()!)