feat: add tests

This commit is contained in:
2024-01-07 23:51:29 +08:00
parent 7ec4c4a526
commit 97baed2e2a
11 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#[derive(Debug)]
struct Object {}
impl Drop for Object {
fn drop(&mut self) {
println!("Object#drop");
}
}
fn main() {
{
let object = Object {};
println!("Dump: {:?}", object);
println!("Block end.");
}
println!("Main end.");
}