summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/wasm-safe.rs
blob: ba971342b46f5faf17d215eebd65fe307a1f7bf2 (plain)
1
2
3
4
5
// check-pass

#[cfg(any(target_arch = "wasm32", doc))]
#[target_feature(enable = "simd128")]
pub fn foo() {}