mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
18 lines
204 B
Rust
18 lines
204 B
Rust
//@ compile-flags: --crate-type=lib
|
|
|
|
//@ pp-exact
|
|
fn f() -> [isize; 3] {
|
|
let picard = 0;
|
|
|
|
let data = 1;
|
|
|
|
let worf = 2;
|
|
|
|
|
|
let enterprise = [picard, data, worf];
|
|
|
|
|
|
|
|
return enterprise;
|
|
}
|