Ensure, $eval and $evaltype, @unreachable() replaces $unreachable. <Type>.sizeof

This commit is contained in:
Christoffer Lerno
2022-03-02 23:01:43 +01:00
committed by Christoffer Lerno
parent 4f4bc80953
commit 2802b2b96d
51 changed files with 1146 additions and 1163 deletions

View File

@@ -9,7 +9,7 @@ int myenum_max = MyEnum.max;
int myenum_min = MyEnum.min;
int myenum_elements = MyEnum.elements;
int myenum_alignof = $alignof(MyEnum);
int myenum_sizeof = $sizeof(MyEnum);
int myenum_sizeof = MyEnum.sizeof;
// #expect: compile_time.ll