diff --git a/source/rust_verify_test/tests/adts.rs b/source/rust_verify_test/tests/adts.rs index 65961d85b..e432e3f1e 100644 --- a/source/rust_verify_test/tests/adts.rs +++ b/source/rust_verify_test/tests/adts.rs @@ -1795,3 +1795,22 @@ test_verify_one_file! { } } => Ok(()) } + +test_verify_one_file! { + #[ignore] #[test] test_is_panic_regression_1380 verus_code! { + use vstd::seq::*; + + enum Alternative { + Yes, + No, + } + + spec fn is_test_original(s: Seq>) -> bool { + &&& forall|b:nat| b < s.len() ==> s[b as int] is Some(Alternative::Yes) + } + + spec fn is_test_minimal(s: Seq>) -> bool { + &&& forall|b:nat| s[b as int] is Some(Alternative::Yes) + } + } => Err(e) => assert_rust_error_msg(e, todo!()) +}