Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
compile
/
slang
/
5743f7ef6fd1045d5314929b16c92a267004e384
/
.
/
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
;
}