zig/test/behavior
Daniele Cocca 9e88356282 embedFile: change notation from [X:0] to [N:0]
This is for consistency with the documentation on sentinel-terminated
{arrays,slices,pointers} which already use `N` for a comptime-inferred
size rather than `X`.

Also adds a behavioral test to assert that a string literal is returned.
2021-06-16 22:03:02 +01:00
..
bugs embedFile: change notation from [X:0] to [N:0] 2021-06-16 22:03:02 +01:00
hasdecl
import
namespace_depends_on_compile_var
pub_enum
align.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
alignof.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
array.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
asm.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
async_fn.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
atomics.zig stage1: Fix for atomicrmw xchg on fp types 2021-05-28 19:18:42 -04:00
await_struct.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
bit_shifting.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
bitcast.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
bitreverse.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
bool.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
byteswap.zig test: re-enable dragonfly tests 2021-06-05 22:08:36 -04:00
byval_arg_var.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
call.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
cast.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
const_slice_child.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
defer.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
enum_with_members.zig Have std.fmt functions take case as an enum 2021-06-10 08:33:42 +03:00
enum.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
error.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
eval.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
field_parent_ptr.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
floatop.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
fn_delegation.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
fn_in_struct_in_comptime.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
fn.zig zig fmt 2021-06-10 20:13:43 -07:00
for.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
generics.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
hasdecl.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
hasfield.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
if.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
import.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
incomplete_struct_param_tld.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
inttoptr.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
ir_block_deps.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
math.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
merge_error_sets.zig
misc.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
muladd.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
namespace_depends_on_compile_var.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
null.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
optional.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
pointers.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
popcount.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
ptrcast.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
pub_enum.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
ref_var_in_if_after_if_2nd_switch_prong.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
reflection.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
shuffle.zig Re-enable multiple wasm32 vector tests 2021-06-09 23:54:23 -04:00
sizeof_and_typeof.zig Renamed @byteOffsetOf to @offsetOf 2021-06-12 19:16:01 +03:00
slice_sentinel_comptime.zig
slice.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
src.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
struct_contains_null_ptr_itself.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
struct_contains_slice_of_itself.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
struct.zig Renamed @byteOffsetOf to @offsetOf 2021-06-12 19:16:01 +03:00
switch_prong_err_enum.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
switch_prong_implicit_cast.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
switch.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
syntax.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
this.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
translate_c_macros.h meta.cast: handle casts from negative ints to ptrs 2021-06-13 16:53:01 +03:00
translate_c_macros.zig meta.cast: handle casts from negative ints to ptrs 2021-06-13 16:53:01 +03:00
truncate.zig stage1: make @truncate to an integer type of different sign an error at comptime too 2021-06-08 20:58:30 +03:00
try.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
tuple.zig stage1: Allow array-like initialization for tuple types 2021-06-06 21:21:42 -04:00
type_info.zig behavior tests: re-enable commented out test 2021-05-17 16:09:20 -07:00
type.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
typename.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
undefined.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
underscore.zig
union.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
usingnamespace.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
var_args.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
vector.zig Re-enable multiple wasm32 vector tests 2021-06-09 23:54:23 -04:00
void.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
wasm.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
while.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
widening.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00