Files
doslang-mirror/fec/tests/m7/oknull.fe
T

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);
}