Files
swift-mirror/test/IRGen/osx-targets.swift
Devin Coughlin da6d078ff9 [Tests] Remove dependence on specific deployment target versions (#15819)
Generalize several tests so they are not locked to specific deployment target
versions.
2018-04-09 14:10:32 -07:00

13 lines
424 B
Swift

// RUN: %swift %s -emit-ir | %FileCheck %s
// RUN: %swift -target x86_64-apple-macosx10.51 %s -emit-ir | %FileCheck -check-prefix=CHECK-SPECIFIC %s
// RUN: %swift -target x86_64-apple-darwin55 %s -emit-ir | %FileCheck -check-prefix=CHECK-SPECIFIC %s
// REQUIRES: OS=macosx
// CHECK: target triple = "x86_64-apple-macosx10.
// CHECK-SPECIFIC: target triple = "x86_64-apple-macosx10.51.0"
public func anchor() {}
anchor()