// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can handle set len on drop for an implicit extend with // the vec![i; j] constructor. // There is an implicit loop, so we need an explicit unwind // cbmc-flags: --unwinding-assertions #[kani::proof] #[kani::unwind(3)] fn main() { let a: Vec> = vec![vec![0; 2]; 1]; assert!(a.len() == 1); }