aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_error.zig
blob: dab0f7f7cc9fd2dc36d0bab8dcdaa5b1dbc6fdfb (plain)
1
2
3
4
5
6
7
export fn foo() void {
    @compileError("this is an error");
}

// error
//
// :2:5: error: this is an error