diff options
Diffstat (limited to 'src/test/incremental/issue-80336-invalid-span.rs')
-rw-r--r-- | src/test/incremental/issue-80336-invalid-span.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/incremental/issue-80336-invalid-span.rs b/src/test/incremental/issue-80336-invalid-span.rs new file mode 100644 index 000000000..7757d9159 --- /dev/null +++ b/src/test/incremental/issue-80336-invalid-span.rs @@ -0,0 +1,10 @@ +// Regression test for issue #80336 +// Test that we properly handle encoding, decoding, and hashing +// of spans with an invalid location and non-root `SyntaxContext` + +// revisions:rpass1 rpass2 +// only-x86_64 + +pub fn main() { + let _ = is_x86_feature_detected!("avx2"); +} |