zig/test/cases
Andrew Kelley cf39819478 add new kind of test: generating .h files. and more
* docgen supports obj_err code kind for demonstrating
   errors without explicit test cases
 * add documentation for `extern enum`. See #367
 * remove coldcc keyword and add @setIsCold. See #661
 * add compile errors for non-extern struct, enum, unions
   in function signatures
 * add .h file generation for extern struct, enum, unions
2018-01-22 22:24:07 -05:00
..
bugs fix compiler crash in a nullable if after an if in... 2017-12-14 01:07:23 -05:00
import explicitly return from blocks 2017-12-22 00:50:30 -05:00
namespace_depends_on_compile_var clean up behavior test names 2017-05-23 21:38:31 -04:00
pub_enum clean up behavior test names 2017-05-23 21:38:31 -04:00
align.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
alignof.zig introduce align keyword 2017-08-29 07:51:34 -04:00
array.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
asm.zig bring back code that uses export and fix tests 2017-12-19 02:39:43 -05:00
atomics.zig @import("builtin") instead of @compileVar 2017-05-01 13:12:38 -04:00
bitcast.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
bool.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
cast.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00
const_slice_child.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00
defer.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00
enum_with_members.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00
enum.zig enum tag values are expressions so no parentheses needed 2018-01-03 16:05:37 -05:00
error.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00
eval.zig the same string literal codegens to the same constant 2018-01-11 21:02:30 -05:00
field_parent_ptr.zig add @fieldParentPtr builtin function 2017-04-18 02:28:05 -04:00
fn.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
for.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
generics.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
if.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
import.zig add import test 2017-09-09 22:54:50 -04:00
incomplete_struct_param_tld.zig introduce copyable concept 2017-03-26 03:39:18 -04:00
ir_block_deps.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00
math.zig A few more none negative cases, just to be sure we've covered everything 2018-01-17 14:35:13 +01:00
misc.zig add new kind of test: generating .h files. and more 2018-01-22 22:24:07 -05:00
null.zig fix compiler segfault on null ?? x 2017-06-14 19:32:52 -04:00
ref_var_in_if_after_if_2nd_switch_prong.zig fix compiler crash when referencing a variable... 2017-05-02 12:59:09 -04:00
reflection.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
sizeof_and_typeof.zig add ptrToInt builtin, remove usize(ptr) cast 2017-08-08 17:38:25 -04:00
slice.zig fix crash when implicitly casting array of len 0 to slice 2017-12-19 22:38:02 -05:00
struct_contains_slice_of_itself.zig change slicing syntax from ... to .. 2017-05-19 10:39:59 -04:00
struct.zig fix endianness of sub-byte integer fields in packed structs 2017-12-22 18:27:33 -05:00
switch_prong_err_enum.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00
switch_prong_implicit_cast.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00
switch.zig replace a %% b with a catch b 2018-01-07 17:28:20 -05:00
syntax.zig allow trailing commas 2017-06-17 10:34:51 -04:00
this.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
try.zig explicitly return from blocks 2017-12-22 00:50:30 -05:00
undefined.zig fix compiler crash regarding type name of undefined 2017-10-21 13:14:10 -04:00
union.zig fix crash on union-enums with only 1 field 2018-01-22 17:23:23 -05:00
var_args.zig fix null debug info for 0-length array type 2018-01-18 15:08:20 -05:00
void.zig clean up behavior test names 2017-05-23 21:38:31 -04:00
while.zig remove %% prefix operator 2018-01-09 00:51:51 -05:00