zig/test
Andrew Kelley bb38931c71 stage1: @intToEnum implicitly does an @intCast
This is a backwards-compatible language change.

Previously, `@intToEnum` coerced its integer operand to the integer tag
type of the destination enum type, often requiring the callsite to
additionally wrap the operand in an `@intCast`. Now, the `@intCast` is
implicit, and any integer operand can be passed to `@intToEnum`.

The same as before, it is illegal behavior to pass any integer which does
not have a corresponding enum tag.
2021-08-23 15:30:57 -07:00
..
behavior stage1: @intToEnum implicitly does an @intCast 2021-08-23 15:30:57 -07:00
src std.build: don't default to static linkage 2021-06-12 14:23:07 +03:00
stage1/c_abi stage1: Expand SysV C ABI support for small structs 2021-07-28 18:13:17 -04:00
stage2 stage2 Air: add struct_field_ptr_index_{0..3} 2021-08-21 23:52:55 -04:00
standalone macho: fix linking of dylibs and frameworks 2021-08-10 08:13:07 +02:00
assemble_and_link.zig update std lib to new Target API 2020-02-28 14:51:54 -05:00
behavior.zig stage2: field type expressions support referencing locals 2021-08-20 15:41:57 -07:00
cases.zig stage2 x86_64: enable bitwise and + or and add tests 2021-08-19 22:21:16 +03:00
cli.zig update godbolt test case for unused parameter 2021-06-23 10:44:46 -07:00
compare_output.zig Expose mechanism to convert log level to text 2021-06-24 04:30:05 -06:00
compile_errors.zig stage1: @intToEnum implicitly does an @intCast 2021-08-23 15:30:57 -07:00
gen_h.zig run zig fmt on src/ and test/ 2020-10-31 12:21:49 +02:00
run_translated_c.zig translate-c: allow string literals to be used as char * 2021-08-21 16:32:09 +03:00
runtime_safety.zig fix unused variable errors in runtime safety test cases 2021-06-23 10:44:46 -07:00
stack_traces.zig overhaul elf csu (c-runtime startup) logic 2021-05-23 15:38:57 -04:00
standalone.zig macho: fix linking of dylibs and frameworks 2021-08-10 08:13:07 +02:00
tests.zig Merge remote-tracking branch 'origin' into libc-wasi-test 2021-08-09 14:39:26 +09:00
translate_c.zig translate-c: better codegen for pointer index by int literal 2021-08-03 08:38:15 +03:00