For the following code there's no runtime crash
```
enum E {e1 = 1, e2 = 2, illegal = noreturn}
void main()
{
E e;
// that assignment should have the same effect as assert(0)
e = E.illegal;
// just to be sure
if (e) {}
}
```
Comment #1 by nick — 2023-08-30T11:40:00Z
Note - the enum declaration is rejected by the fix for issue #24117.