Sign in
fuchsia
/
third_party
/
swift
/
f2cf0510d6e25911e9babada46e0025862bd00cd
/
.
/
test
/
AutoDiff
/
downstream
/
Inputs
/
nondifferentiable_function_other_module.swift
blob: b7415c48c2c80ef49c09da49ea969acd66e5f12b [
file
] [
log
] [
blame
]
// A public function that is not marked with `@differentiable`.
// Differentiation of `externalFunction` in other modules should fail.
public
func externalFunction
(
_ x
:
Float
)
->
Float
{
return
x
+
x
}