]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/issue-80336-invalid-span.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / incremental / issue-80336-invalid-span.rs
1 // Regression test for issue #80336
2 // Test that we properly handle encoding, decoding, and hashing
3 // of spans with an invalid location and non-root `SyntaxContext`
4
5 // revisions:rpass1 rpass2
6 // only-x86_64
7
8 pub fn main() {
9     let _ = is_x86_feature_detected!("avx2");
10 }