13 lines
170 B
Plaintext
13 lines
170 B
Plaintext
unit oknull1;
|
|
|
|
struct Node { value: i32, }
|
|
|
|
fn accepts(p: ?^Node) -> bool { return p == null; }
|
|
|
|
fn test() -> bool {
|
|
let p: ?^Node = null;
|
|
return accepts(p);
|
|
}
|
|
|
|
|