Files
swift-mirror/test/Migrator/static-abs-swift-abs-float80.swift.expected
David Farler eaa515b9e3 [Migrator] Separate Float80 test to x86_64 platform
Build fix - the reference to Float80 is failing on iOS bots because
the declaration is guarded by an #if.

rdar://problem/32317183
2017-06-14 14:21:51 -07:00

9 lines
583 B
Plaintext

// REQUIRES: objc_interop
// REQUIRES: CPU=x86_64
// 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-float80.swift.result -emit-remap-file-path %t/static-abs-swift-abs-float80.swift.remap -o /dev/null
// RUN: diff -u %S/static-abs-swift-abs-float80.swift.expected %t/static-abs-swift-abs-float80.swift.result
// RUN: %target-swift-frontend -typecheck -swift-version 4 %t/static-abs-swift-abs-float80.swift.result
_ = Swift.abs(0)