Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
test
/
ui
/
consts
/
min_const_fn
/
cmp_fn_pointers.rs
blob: c2600f894dc42a7c450d72e541036eb274b6b7b6 [
file
] [
log
] [
blame
]
const
fn
cmp
(
x
:
fn
(),
y
:
fn
())
->
bool
{
//~ ERROR function pointers in const fn are unstable
unsafe
{
x
==
y
}
}
fn
main
()
{}