zig/test/behavior
Veikka Tuominen fe6249348f Sema: ensure comptime reference to function points to original decl
This prevents sema from creating new decls for the functions and
passing them to the backends as non-function decls.

Closes #12501
2022-11-16 01:12:54 +02:00
..
bugs Add test case for #12043 2022-11-10 12:23:59 -07:00
hasdecl
import
namespace_depends_on_compile_var
pub_enum
usingnamespace Sema: make check for namespace lookup of private declarations more strict 2022-11-11 17:59:53 +02:00
align.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
alignof.zig behavior: enable stage2_c tests that are currently passing 2022-10-25 05:11:28 -04:00
array.zig Sema: correct condition in validateArrayInit 2022-11-04 23:13:49 +02:00
asm.zig stage2: Support modifiers in inline asm 2022-11-11 16:01:31 +02:00
async_fn.zig
atomics.zig cbe: disable aarch64 behavior tests that are broken with gcc 2022-10-31 21:01:04 -04:00
await_struct.zig
basic.zig cbe: fix threadlocal 2022-11-01 20:38:51 -04:00
bit_shifting.zig behavior: enable fixed cbe tests 2022-10-30 15:38:50 -04:00
bitcast.zig cbe: implement optional slice representation change 2022-10-29 05:58:41 -04:00
bitreverse.zig
bool.zig
byteswap.zig
byval_arg_var.zig
call.zig Sema: do not re-evaluate type of non-generic inline call parameters 2022-11-16 01:12:27 +02:00
cast_int.zig behavior: enable stage2_c tests that are currently passing 2022-10-25 05:11:28 -04:00
cast.zig Sema: implement peer type resolution of function pointers and function bodies 2022-11-04 23:13:49 +02:00
comptime_memory.zig stage2 ARM: amend implementation of various AIR instructions 2022-09-09 19:17:17 +02:00
const_slice_child.zig stage2 ARM: implement ptr_elem_val 2022-09-09 19:17:18 +02:00
decltest.zig
defer.zig cbe: fix atomics 2022-10-25 05:11:29 -04:00
empty_union.zig stage2: fix onePossibleValue of empty unions and enums 2022-11-04 23:13:50 +02:00
enum.zig dwarf: do not assume unsigned 64bit integer for the enum value 2022-11-10 09:36:45 +01:00
error.zig Sema: adjust result type of anyerror field access 2022-11-05 13:22:21 +02:00
eval.zig Sema: ensure comptime reference to function points to original decl 2022-11-16 01:12:54 +02:00
export_self_referential_type_info.zig behavior: fix redefined exports 2022-10-25 05:11:28 -04:00
export.zig stage2: implement exporting using field access (#13136) 2022-10-12 04:38:07 -04:00
field_parent_ptr.zig cbe: implement field_parent_ptr 2022-10-25 05:11:29 -04:00
floatop.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
fn_delegation.zig
fn_in_struct_in_comptime.zig
fn.zig Merge pull request #13446 from Vexu/stage2-fixes 2022-11-07 14:17:26 +02:00
for.zig cbe: canonicalize types that have the same C type when emitting typedefs 2022-10-25 05:11:29 -04:00
generics.zig Type: check return_type for generic poison before comparing 2022-11-11 17:59:53 +02:00
hasdecl.zig
hasfield.zig
if.zig cbe: hack around invalid Air 2022-11-02 10:20:31 -04:00
import.zig
incomplete_struct_param_tld.zig
inline_switch.zig Sema: inline switch capture needs to be set when switch operand is comptime known 2022-10-08 16:58:52 +03:00
int128.zig cbe: implement 128-bit and fix smaller integer builtins 2022-10-25 05:11:29 -04:00
int_div.zig
inttoptr.zig
ir_block_deps.zig
math.zig cbe: fix floating point builtins 2022-10-25 07:02:06 -04:00
maximum_minimum.zig cbe: fix infinite recursion on recursive types 2022-10-25 05:11:28 -04:00
member_func.zig
merge_error_sets.zig stage2 ARM: amend implementation of various AIR instructions 2022-09-09 19:17:17 +02:00
muladd.zig cbe: improve floating point type support 2022-10-25 05:22:55 -04:00
namespace_depends_on_compile_var.zig
null.zig
optional.zig aarch64: pass some tests dealing with optionals 2022-11-08 13:59:47 +01:00
packed_struct_explicit_backing_int.zig cbe: fix atomics 2022-10-25 05:11:29 -04:00
packed-struct.zig cbe: implement optional slice representation change 2022-10-29 05:58:41 -04:00
pointers.zig llvm: correctly lower references to generic functions 2022-11-12 15:41:29 +02:00
popcount.zig
prefetch.zig
ptrcast.zig cbe: implement 128-bit and fix smaller integer builtins 2022-10-25 05:11:29 -04:00
pub_enum.zig
ref_var_in_if_after_if_2nd_switch_prong.zig
reflection.zig
saturating_arithmetic.zig cbe: implement 128-bit and fix smaller integer builtins 2022-10-25 05:11:29 -04:00
select.zig
shuffle.zig
sizeof_and_typeof.zig cbe: implement 128-bit and fix smaller integer builtins 2022-10-25 05:11:29 -04:00
slice_sentinel_comptime.zig
slice.zig behavior: enable fixed cbe tests 2022-10-30 15:38:50 -04:00
src.zig Value: handle runtime_int in hashPtr 2022-10-20 20:11:12 +03:00
struct_contains_null_ptr_itself.zig cbe: fix infinite recursion on recursive types 2022-10-25 05:11:28 -04:00
struct_contains_slice_of_itself.zig cbe: fix global access fix 2022-10-25 05:11:29 -04:00
struct.zig llvm: correct calculation of index of zero-bit field 2022-11-11 17:59:53 +02:00
switch_prong_err_enum.zig behavior: enable stage2_c tests that are currently passing 2022-10-25 05:11:28 -04:00
switch_prong_implicit_cast.zig cbe: fix infinite recursion on recursive types 2022-10-25 05:11:28 -04:00
switch.zig stage2 AArch64: implement basic switch statements 2022-11-01 20:43:27 +01:00
this.zig stage2 ARM: amend implementation of various AIR instructions 2022-09-09 19:17:17 +02:00
translate_c_macros_not_utf8.h translate-c: Escape non-ASCII characters that appear in macros 2022-09-10 01:50:17 +03:00
translate_c_macros.h Translate-C Remainder Macro Fix 2022-11-03 14:07:00 +02:00
translate_c_macros.zig Translate-C Remainder Macro Fix 2022-11-03 14:07:00 +02:00
truncate.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +02:00
try.zig stage2 ARM: amend implementation of various AIR instructions 2022-09-09 19:17:17 +02:00
tuple.zig llvm: check that tuple fields have runtime bits 2022-11-12 15:41:29 +02:00
type_info.zig behavior: enable stage2_c tests that are currently passing 2022-10-25 05:11:28 -04:00
type.zig cbe: ignore comptime fields when generating tuple typedefs 2022-11-02 10:21:05 -04:00
typename.zig behavior: enable fixed cbe tests 2022-10-30 15:38:50 -04:00
undefined.zig cbe: implement packed structs 2022-10-25 05:11:29 -04:00
underscore.zig
union_with_members.zig behavior: enable stage2_c tests that are currently passing 2022-10-25 05:11:28 -04:00
union.zig llvm: implement packed unions 2022-11-09 17:14:38 +02:00
usingnamespace.zig Sema: make check for namespace lookup of private declarations more strict 2022-11-11 17:59:53 +02:00
var_args.zig
vector.zig Sema: coerce array operands to shuffle 2022-11-11 18:00:05 +02:00
void.zig stage2: Reference to void constants 2022-08-26 00:00:22 -04:00
wasm.zig
while.zig stage2 ARM: amend implementation of various AIR instructions 2022-09-09 19:17:17 +02:00
widening.zig cbe: implement 128-bit and fix smaller integer builtins 2022-10-25 05:11:29 -04:00
wrapping_arithmetic.zig