Sign in
fuchsia
/
third_party
/
swift
/
948f5517c757da96a519e3b6f4f5ee004b94ee38
/
.
/
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
}