Many of these tests check for the incorrect behavior of stage1 whereas self-hosted correctly does not emit an error, so they are simply deleted. The remaining number of test cases within the stage1/ subdirectory is reduced from 143 to 103.
11 lines
174 B
Zig
11 lines
174 B
Zig
comptime {
|
|
var a: i64 = undefined;
|
|
_ = a % a;
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :3:9: error: use of undefined value here causes undefined behavior
|