probe2
This commit is contained in:
parent
c79a0415b1
commit
8552da3e7f
1 changed files with 14 additions and 0 deletions
|
|
@ -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");
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue