#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
const ContextAllocator = MemoryPool(usize);

pub fn MemoryPool(comptime T: type) type {
    const free_list_t = @compileError("aoeu");
    _ = T;

    return struct {
        free_list: free_list_t,
    };
}

export fn entry() void {
    const allocator: ContextAllocator = undefined;
    _ = allocator;
}
#}
#update
#check errors {
test.zig:4:5: error: unreachable code
test.zig:4:25: note: control flow is diverted here
test.zig:4:25: error: aoeu
test.zig:1:36: note: called at comptime here
#}
