mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
12 lines
225 B
Rust
12 lines
225 B
Rust
//@ only-x86_64
|
|
//@ compile-flags:--test -C target-feature=+avx
|
|
//@ should-fail
|
|
|
|
/// (written on a spider's web) Some Struct
|
|
///
|
|
/// ```
|
|
/// panic!("oh no");
|
|
/// ```
|
|
#[doc(cfg(target_feature = "avx"))]
|
|
pub struct SomeStruct;
|