This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
2
Packages
Projects
Releases
Wiki
Activity
Files
cfee72aa24725ab8310c9d8c7085368489de567e
rust
/
tests
/
ui
/
inline-const
/
const-expr-array-init.rs
8 lines
95 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ build-pass
Add inline const tests
2020-10-06 17:53:12 -03:00
use
std
::
cell
::
Cell
;
fn
main
(
)
{
let
_x
=
[
const
{
Cell
::
new
(
0
)
}
;
20
]
;
}
Reference in New Issue
Copy Permalink