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