oakc 0.6.1

A portable programming language with a compact backend
Documentation

// Does &&void parse correctly?
fn ref_one(ptr: &void) -> &&void {
    return &ptr;
}

// Does &&&void parse correctly?
fn ref_two(ptr: &&void) -> &&&void {
    return &ptr;
}

// Does &&&&void parse correctly?
fn ref_three(ptr: &&&void) -> &&&&void {
    return &ptr;
}

fn main() {
    let _ = ref_three(ref_two(ref_one(alloc(32))));
}