mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Swift master uses LLVM swift-4.0-branch, which does not yet have
the lit change implementing this syntax.
This reverts commit dfd10ae485.
10 lines
298 B
Swift
10 lines
298 B
Swift
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil %s -emit-ir | %FileCheck %s
|
|
|
|
// REQUIRES: CPU=i386_or_x86_64
|
|
|
|
@_silgen_name("atan2") func atan2test(_ a: Double, _ b: Double) -> Double
|
|
|
|
atan2test(0.0, 0.0)
|
|
|
|
// CHECK: call swiftcc double @atan2(double {{.*}}, double {{.*}})
|