Files
swift-mirror/test/ClangImporter/bad-deployment-target.swift
Mishal Shah 92ca9fc924 [Apple Silicon] Generalize tests for other macOS architectures
Most of the changes fall into a few categories:
* Replace explicit "x86_64" with %target-cpu in lit tests
* Cope with architecture differences in IR/asm/etc. macOS-specific tests
2020-07-02 16:27:46 -07:00

9 lines
276 B
Swift

// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -target %target-cpu-apple-macosx10.8 %s
//
// This test ensures that a -target that is too old for the standard library
// will not crash in the ClangImporter.
// REQUIRES: OS=macosx
import Foundation