const Error = error{
    unexpected_result,
};

const main = fn () Error!void {
    const ch = 'a';
    var buffer: [1]u8 = undefined;
    var index: usize = 0;
    buffer[index] = ch;
    if (buffer[index] - ch != 0) {
        return Error.unexpected_result;
    }
}
