master
1export fn foo() void {
2    @compileError("this is an error");
3}
4
5// error
6//
7// :2:5: error: this is an error