Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
compile
/
slang
/
6b2416cc1b3d09de3f386a49b949459c2157e0d7
/
.
/
tests
/
F_reduce_ret_type_mismatch
/
reduce_ret_type_mismatch.rs
blob: e43ca89d3a10f21360fb1696210dcbddaab21075 [
file
] [
log
] [
blame
]
// -target-api 0
#
pragma version
(
1
)
#
pragma rs java_package_name
(
foo
)
double __attribute__
((
kernel
(
"reduce"
)))
kernel
(
float arg1
,
float arg2
)
{
return
arg1
+
arg2
;
}