zig/test/behavior
Ryan Liptak b67caf72e3 Add behavior test: including the sentinel when dereferencing a string literal
This test would have failed in the past, but this has been fixed sometime in the last year. Closes #15944
2024-07-04 16:02:27 +03:00
..
conflicting_externs categorize behavior/bugs/<issueno>.zig tests 2024-01-06 16:49:41 -08:00
hasdecl move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
import move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
namespace_depends_on_compile_var move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
pub_enum move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
usingnamespace riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
abs.zig stage2-wasm: abs 128 bit 2024-06-24 20:50:39 +02:00
align.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
alignof.zig riscv: arbitrary sized arrays 2024-06-13 02:19:40 -07:00
array.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
asm.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
async_fn.zig test/behavior: replace all 'comptime expect' with 'comptime assert' 2024-01-15 20:55:01 +11:00
atomics.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
await_struct.zig test: update behavior to silence 'var is never mutated' errors 2023-11-19 09:57:03 +00:00
basic.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
bit_shifting.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
bitcast.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
bitreverse.zig stage2-wasm: bit_reverse 2024-06-16 11:53:33 +02:00
bool.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
builtin_functions_returning_void_or_noreturn.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
byteswap.zig riscv: first sign of floats! 2024-06-13 02:21:38 -07:00
byval_arg_var.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
call.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
call_tail.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
cast.zig test: disable-enable riscv tests 2024-06-13 04:42:26 -07:00
cast_int.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
comptime_memory.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
const_slice_child.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
decltest.zig riscv: math progress 2024-05-11 02:17:24 -07:00
defer.zig ZigObject: enforce min function alignement on riscv 2024-06-13 02:21:38 -07:00
destructure.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
duplicated_test_names.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
empty_file_level_struct.zig fix overflow found while fuzzing 2022-12-23 23:10:04 +02:00
empty_file_level_union.zig fix overflow found while fuzzing 2022-12-23 23:10:04 +02:00
empty_tuple_fields.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
empty_union.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
enum.zig Merge pull request #20070 from Rexicon226/riscv 2024-06-19 17:42:08 +02:00
error.zig test: disable-enable riscv tests 2024-06-13 04:42:26 -07:00
eval.zig Merge pull request #20070 from Rexicon226/riscv 2024-06-19 17:42:08 +02:00
export_builtin.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
export_c_keywords.zig cbe: fix non-msvc externs and exports 2024-01-03 02:52:25 -05:00
export_keyword.zig riscv: math progress 2024-05-11 02:17:24 -07:00
export_self_referential_type_info.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
extern.zig riscv: arbitrary sized arrays 2024-06-13 02:19:40 -07:00
extern_struct_zero_size_fields.zig test: update behavior to silence 'var is never mutated' errors 2023-11-19 09:57:03 +00:00
field_parent_ptr.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
file_to_embed.txt rename behavior test to better describe what it does 2023-10-23 17:28:10 -07:00
floatop.zig riscv: integer + float @abs 2024-06-13 02:22:06 -07:00
fn.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
fn_delegation.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
fn_in_struct_in_comptime.zig test: update behavior to silence 'var is never mutated' errors 2023-11-19 09:57:03 +00:00
for.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
generics.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
globals.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
hasdecl.zig spirv: disable tests that fail on pocl 2024-06-10 20:32:34 +02:00
hasfield.zig Sema: make @hasField support tuples too 2022-03-11 12:59:20 -07:00
if.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
import.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
import_c_keywords.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
incomplete_struct_param_tld.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
inline_switch.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
int128.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
int_comparison_elision.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
ir_block_deps.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
lower_strlit_to_vector.zig riscv: add airAggregateInit for arrays 2024-06-13 02:22:04 -07:00
math.zig stage2-wasm: not op for <= 128 bits ints 2024-07-02 15:02:59 +02:00
maximum_minimum.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
member_func.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
memcpy.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
memset.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
merge_error_sets.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
muladd.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
multiple_externs_with_conflicting_types.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
namespace_depends_on_compile_var.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
nan.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
null.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
optional.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
packed-struct.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
packed-union.zig spirv: disable tests that fail on pocl 2024-06-10 20:32:34 +02:00
packed_struct_explicit_backing_int.zig riscv: finally fix bug + airAggregateInit 2024-05-11 02:17:24 -07:00
pointers.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
popcount.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
prefetch.zig riscv: add airAggregateInit for arrays 2024-06-13 02:22:04 -07:00
ptrcast.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
ptrfromint.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
pub_enum.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
ref_var_in_if_after_if_2nd_switch_prong.zig riscv: switch progress + by-ref return progress 2024-06-13 02:19:38 -07:00
reflection.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
return_address.zig riscv: arbitrary sized arrays 2024-06-13 02:19:40 -07:00
saturating_arithmetic.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
select.zig spirv: new vectorization helper 2024-06-10 20:32:49 +02:00
shuffle.zig spirv: improve shuffle codegen 2024-06-10 20:32:50 +02:00
sizeof_and_typeof.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
slice.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
slice_sentinel_comptime.zig spirv: update tests 2024-02-04 19:09:33 +01:00
src.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
string_literals.zig Add behavior test: including the sentinel when dereferencing a string literal 2024-07-04 16:02:27 +03:00
struct.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
struct_contains_null_ptr_itself.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
struct_contains_slice_of_itself.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
switch.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
switch_on_captured_error.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
switch_prong_err_enum.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
switch_prong_implicit_cast.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
this.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
threadlocal.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
truncate.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
try.zig ZigObject: enforce min function alignement on riscv 2024-06-13 02:21:38 -07:00
tuple.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
tuple_declarations.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
type.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
type_info.zig riscv: math progress 2024-05-11 02:17:24 -07:00
type_info_mul_linksection_addrspace_decls.zig Zir: add missing extra index for linksection_or_addspace 2023-11-25 11:39:37 +00:00
typename.zig spirv: disable tests that fail on pocl 2024-06-10 20:32:34 +02:00
undefined.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
underscore.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
union.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
union_with_members.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
usingnamespace.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
var_args.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
vector.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
void.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
wasm.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
while.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
widening.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
wrapping_arithmetic.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
zero.bin Module: fix @embedFile of files containing zero bytes 2024-02-22 12:33:53 -08:00