//! rejects: 15:43: mutable data cannot hold a slice, a trait object or a union that mixes pointer and plain payloads, or point to one, because a racing writer could tear it; use a `constant`, an `unsafe static` or an `unsafe` default function
//! rejects: 19:43: mutable data cannot hold a slice, a trait object or a union that mixes pointer and plain payloads, or point to one, because a racing writer could tear it; use a `constant`, an `unsafe static` or an `unsafe` default function
//! The verifier refuses a slice in mutable data, and a pointer that reaches one, so the compiler
//! refuses them in a safe storage parameter.

/// A record that holds a slice.
record Label {
    text: *[u8],
}
/// A record that reaches a slice through itself.
record Node {
    next: ?*Node,
    label: ?*Label,
}
@default fn slices(storage: *mut [*[u8]; 4]) -> i32 {
    return 0;
}
/// A storage parameter that points to a slice.
@default fn links(storage: *mut [?*Node; 4]) -> i32 {
    return 0;
}
