Sign in
fuchsia
/
third_party
/
swift
/
948f5517c757da96a519e3b6f4f5ee004b94ee38
/
.
/
test
/
AutoDiff
/
downstream
/
compiler_crashers_fixed
/
Inputs
/
tf953-invalid-differentiable-attr-other-module.swift
blob: 0c48009927d269c68872ad0487484266c9a06dab [
file
] [
log
] [
blame
]
// Invalid `@differentiable` attribute in non-primary-file should not crash
// SILGen.
@differentiable
func foo
(
_ x
:
Int
)
->
Float
{
return
Float
(
x
)
}