zig/test/cases
Andrew Kelley c7804277bf `@floatToInt` now has safety-checked undefined behavior
when the integer part does not fit in the destination integer type

 * Also fix incorrect safety triggered for integer casting an
   `i32` to a `u7`. closes #1138
 * adds compiler-rt function: `__floatuntidf`
2018-06-19 16:06:10 -04:00
..
bugs breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
import [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
namespace_depends_on_compile_var [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
pub_enum syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
align.zig remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes` 2018-06-18 17:25:29 -04:00
alignof.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
array.zig Allow access of array.len through a pointer 2018-06-08 09:21:31 +02:00
asm.zig syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
atomics.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
bitcast.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
bool.zig remove bool to int syntax. add @boolToInt 2018-06-18 03:07:16 -04:00
byval_arg_var.zig disable byval 2018-06-16 19:37:00 -04:00
cast.zig `@floatToInt` now has safety-checked undefined behavior 2018-06-19 16:06:10 -04:00
const_slice_child.zig disallow single-item pointer indexing 2018-06-04 01:39:57 -04:00
coroutines.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
defer.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
enum.zig remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum` 2018-06-19 03:50:38 -04:00
enum_with_members.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
error.zig remove error to/from int casting syntax; add `@errorToInt`/`@intToError` 2018-06-18 18:48:29 -04:00
eval.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
field_parent_ptr.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
fn.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
fn_in_struct_in_comptime.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
for.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
generics.zig breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
if.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
import.zig add import test 2017-09-09 22:54:50 -04:00
incomplete_struct_param_tld.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
ir_block_deps.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
math.zig Renamed "(int/float literal)" to "comptime_int/float" 2018-06-05 11:14:43 +02:00
merge_error_sets.zig add docs and missing test case for merging error sets 2018-06-12 19:38:59 -04:00
misc.zig remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes` 2018-06-18 17:25:29 -04:00
new_stack_call.zig Merge branch 'master' into pointer-reform 2018-05-13 13:38:03 -04:00
null.zig Enabled optional types of zero bit types with no LLVM DI type. (#1110) 2018-06-14 10:57:28 -04:00
pointers.zig disallow single-item pointer indexing 2018-06-04 01:39:57 -04:00
ref_var_in_if_after_if_2nd_switch_prong.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
reflection.zig breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
sizeof_and_typeof.zig add ptrToInt builtin, remove usize(ptr) cast 2017-08-08 17:38:25 -04:00
slice.zig Pointer Reform: proper slicing and indexing (#1053) 2018-06-04 22:11:14 -04:00
struct.zig remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes` 2018-06-18 17:25:29 -04:00
struct_contains_null_ptr_itself.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
struct_contains_slice_of_itself.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
switch.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
switch_prong_err_enum.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
switch_prong_implicit_cast.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
syntax.zig support `zig fmt: off` and `zig fmt: on` between top level decls 2018-06-04 12:15:02 -04:00
this.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
try.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
type_info.zig Merge pull request #1136 from alexnask/typeinfo_improvements 2018-06-19 11:46:32 -04:00
undefined.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
union.zig remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum` 2018-06-19 03:50:38 -04:00
var_args.zig don't automatically take pointer when passing by non-copying value 2018-06-16 19:37:00 -04:00
void.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
while.zig breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00