mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Build fix - the reference to Float80 is failing on iOS bots because the declaration is guarded by an #if. rdar://problem/32317183
12 lines
574 B
Plaintext
12 lines
574 B
Plaintext
// REQUIRES: objc_interop
|
|
// RUN: %target-swift-frontend -typecheck -swift-version 3 %s
|
|
// RUN: rm -rf %t && mkdir -p %t && %target-swift-frontend -c -update-code -primary-file %s -emit-migrated-file-path %t/static-abs-swift-abs.swift.result -emit-remap-file-path %t/static-abs-swift-abs.swift.remap -o /dev/null
|
|
// RUN: diff -u %S/static-abs-swift-abs.swift.expected %t/static-abs-swift-abs.swift.result
|
|
// RUN: %target-swift-frontend -typecheck -swift-version 4 %t/static-abs-swift-abs.swift.result
|
|
|
|
import CoreGraphics
|
|
|
|
_ = Swift.abs(0)
|
|
_ = Swift.abs(0)
|
|
_ = Swift.abs(0)
|