Files
swift-mirror/test/Interpreter/SDK/multi-file-imported-enum.swift
Saleem Abdulrasool 5f660ba7e7 Interpreter: mark some tests as REQUIRES: objc_interop
These tests require the ObjC Foundation framework currently (although it
should be possible have them use the swift corelibs Foundation project
to satisfy this requirement).  Marking the tests indicates that these
tests do not have the dependencies to run on Windows.
2018-12-14 20:41:47 -08:00

16 lines
368 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-build-swift -module-name test -whole-module-optimization %s %S/Inputs/multi-file-imported-enum/main.swift -o %t/a.out
// RUN: %target-codesign %t/a.out
// RUN: %target-run %t/a.out | %FileCheck %s
// REQUIRES: executable_test
// REQUIRES: objc_interop
import Foundation
class C {
let date = NSDate()
}
// CHECK: true