compiler: "illegal behavior", not "undefined behavior", in errors

This commit is contained in:
mlugg
2025-03-25 15:01:56 +00:00
committed by Andrew Kelley
parent ca1fc3827e
commit eee752ea5a
36 changed files with 6751 additions and 6803 deletions

View File

@@ -3,7 +3,5 @@ pub export fn entry() void {
}
// error
// backend=stage2
// target=native
//
// :2:31: error: use of undefined value here causes undefined behavior
// :2:31: error: use of undefined value here causes illegal behavior