Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
src
/
test
/
ui
/
consts
/
const-fn-const-eval.rs
blob: d4da990812e35963aac052aebefcb9aa952429c8 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
const
fn
add
(
x
:
usize
,
y
:
usize
)
->
usize
{
x
+
y
}
const
ARR
:
[
i32
;
add
(
1
,
2
)]
=
[
5
,
6
,
7
];
pub
fn
main
()
{}