mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
479 B
Swift
9 lines
479 B
Swift
// RUN: %target-swift-frontend -typecheck -emit-module-interface-path %t.swiftinterface -enable-library-evolution -enable-experimental-differentiable-programming %s
|
|
// RUN: %FileCheck %s < %t.swiftinterface
|
|
|
|
public func a(f: @differentiable (Float) -> Float) {}
|
|
// CHECK: public func a(f: @differentiable (Swift.Float) -> Swift.Float)
|
|
|
|
public func b(f: @differentiable(linear) (Float) -> Float) {}
|
|
// CHECK: public func b(f: @differentiable(linear) (Swift.Float) -> Swift.Float)
|