mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This reflects the fact that the attribute's only for compiler-internal use, and isn't really equivalent to C's asm attribute, since it doesn't change the calling convention to be C-compatible.
10 lines
245 B
Swift
10 lines
245 B
Swift
// RUN: %target-swift-frontend %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 double @atan2(double {{.*}}, double {{.*}})
|