Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
double_promotion.rs
blob: 48f4426d9cff48671fe89dac60d0d78b359704f5 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
const_fn
,
rustc_attrs
)]
#[
rustc_args_required_const
(
0
)]
pub
const
fn
a
(
value
:
u8
)
->
u8
{
value
}
#[
rustc_args_required_const
(
0
)]
pub
fn
b
(
_
:
u8
)
{
unimplemented
!()
}
fn
main
()
{
let
_
=
b
(
a
(
0
));
}