master
1const a = bogus; // astgen error (undeclared identifier)
2const b: u32 = "hi"; // sema error (type mismatch)
3
4comptime {
5 _ = b;
6 @compileError("not hit because 'b' failed");
7}
8
9comptime {
10 @compileError("this should be hit");
11}
12
13// error
14//
15// :1:11: error: use of undeclared identifier 'bogus'
16// :2:16: error: expected type 'u32', found '*const [2:0]u8'
17// :10:5: error: this should be hit