blob: 33c34c551a83758db3e30049ac6d9a92e3704010 [file] [log] [blame]
// RUN: %target-swift-frontend -emit-sil %S/Inputs/noderivative_attr_other_file.swift %s | %FileCheck %s
@differentiable
func bar(_ x: Float) -> Float {
return Float(floatToIntNoDerivative(x))
}
// CHECK: sil hidden [_semantics "autodiff.nonvarying"] @float_to_int_noderivative : $@convention(thin) (Float) -> Int