Files
swift-mirror/test/IRGen/osx-targets.swift
2016-08-10 23:52:02 -07:00

13 lines
422 B
Swift

// RUN: %swift %s -emit-ir | %FileCheck %s
// RUN: %swift -target x86_64-apple-macosx10.12 %s -emit-ir | %FileCheck -check-prefix=CHECK-SPECIFIC %s
// RUN: %swift -target x86_64-apple-darwin16 %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.12"
public func anchor() {}
anchor()