Revision 42e827e6e7247224c068a9dce8f6eabd2ab892ba authored by Devin Coughlin on 21 January 2016, 00:12:56 UTC, committed by Devin Coughlin on 21 January 2016, 01:22:15 UTC
This reverts commit f6dd24bb68b35292c3663c92c74508e97f247e53.
1 parent ac1f5a6
target-too-new.swift
// RUN: rm -rf %t && mkdir -p %t
// RUN: %target-swift-frontend -target x86_64-apple-macosx10.10 -emit-module -parse-stdlib %S/../Inputs/empty.swift -o %t
// RUN: not %target-swift-frontend -target x86_64-apple-macosx10.9 -I %t -parse %s 2>&1 | FileCheck %s
// RUN: %target-swift-frontend -target x86_64-apple-macosx10.9 -I %t -parse %s -disable-target-os-checking
// RUN: %target-swift-frontend -target x86_64-apple-macosx10.10 -I %t -parse %s
// RUN: %target-swift-frontend -target x86_64-apple-macosx10.10.1 -I %t -parse %s
// REQUIRES: OS=macosx
// CHECK: :[[@LINE+1]]:8: error: module file's minimum deployment target is OS X v10.10: {{.*}}empty.swiftmodule{{$}}
import empty
Computing file changes ...