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