Sign in
fuchsia
/
third_party
/
rust
/
ffee7bbf9a3ae1cff2bdf3cb17d3f5d8b01951c0
/
.
/
src
/
test
/
ui
/
collections-const-new.rs
blob: a93f9a136db23a2a0402a83bd4475e6ffb8a7077 [
file
] [
log
] [
blame
]
// check-pass
// Test several functions can be used for constants
// 1. Vec::new()
// 2. String::new()
const
MY_VEC
:
Vec
<
usize
>
=
Vec
::
new
();
const
MY_STRING
:
String
=
String
::
new
();
fn
main
()
{}