This commit is contained in:
Meta Vens 2026-11-28 00:37:25 +01:00
commit 8552da3e7f

View file

@ -955,3 +955,17 @@ fn a_slot_naming_a_param_of_another_kind_is_invalid() {
}
fn stack_test_depth() -> usize { std::env::var("DEPTH").unwrap().parse().unwrap() }
#[test]
fn probe_build_only() {
big(|| {
let node = chain(stack_test_depth(), false);
let document = surface(node, &[]);
eprintln!("built");
let copy = document.clone();
eprintln!("cloned");
drop(copy);
drop(document);
eprintln!("dropped");
});
}