Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
rfc-2306
/
convert-id-const-with-gate.rs
blob: 762dfbe484396201c90fc4df42c3f8fb007f7c22 [
file
] [
log
] [
blame
]
// This test should pass since 'identity' is const fn.
// build-pass (FIXME(62277): could be check-pass?)
fn
main
()
{
const
_FOO
:
u8
=
::
std
::
convert
::
identity
(
42u8
);
}