Files
swift-mirror/test/IRGen/osx-targets.swift
Arnold Schwaighofer 034241e440 Revert "Use clang's effective llvm triple for IR generation (#10211)"
This reverts commit 2e3522fafc because debugging
with thumb instructions is broken and being worked on.

rdar://32599805
2017-09-12 13:59:53 -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()