tests: fixture 파일명과 unit 동기화
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
unit baddrop;
|
||||
|
||||
struct Box {
|
||||
value: i32,
|
||||
fn drop(self: &mut Self) { self.value = 0; }
|
||||
}
|
||||
|
||||
fn bad() -> void {
|
||||
var b: Box = Box{ value: 1 };
|
||||
b.drop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user