mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
13 lines
422 B
Swift
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()
|
|
|