mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
12 lines
138 B
Rust
12 lines
138 B
Rust
// run-pass
|
|
#![feature(repr_simd)]
|
|
|
|
#[repr(simd)]
|
|
struct T(f64, f64, f64);
|
|
|
|
static X: T = T(0.0, 0.0, 0.0);
|
|
|
|
fn main() {
|
|
let _ = X;
|
|
}
|