rust/tests/compile-fail
2018-10-18 12:04:41 +02:00
..
stacked_borrows fix for ptr-to-raw casts properly erasing the tag 2018-10-18 12:04:41 +02:00
validity reenable some tests that work now, and organize them better with directories 2018-10-17 16:58:54 +02:00
alignment.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
assume.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
bitop-beyond-alignment.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
cast_box_int_to_fn_ptr.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
cast_fn_ptr2.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
cast_fn_ptr3.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
cast_fn_ptr4.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
cast_fn_ptr5.rs rustup; test for return type mismatch 2018-10-02 21:16:55 +02:00
cast_fn_ptr_unsafe2.rs update tests for new error message 2017-06-27 21:31:38 -04:00
cast_fn_ptr_unsafe.rs update tests for new error message 2017-06-27 21:31:38 -04:00
cast_fn_ptr.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
cast_int_to_fn_ptr.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
copy_nonoverlapping.rs Fix a couple of tests 2018-06-05 18:08:18 +02:00
copy_null.rs add some compile-fail tests 2018-09-16 17:29:53 +02:00
copy_unaligned.rs add some compile-fail tests 2018-09-16 17:29:53 +02:00
ctlz_nonzero.rs port some tests to check the new error format 2018-07-15 12:00:02 +02:00
cttz_nonzero.rs port some tests to check the new error format 2018-07-15 12:00:02 +02:00
dangling_pointer_deref.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
deref_fn_ptr.rs fix for fn allocations now having an alignment (1) and a size (0) 2018-10-08 13:35:54 +02:00
div-by-zero-2.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
div-by-zero.rs check the assumptions made by the unchecked_ and copy_nonoverlapping intrinsics 2017-07-03 20:37:38 -07:00
execute_memory.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
fn_ptr_offset.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
invalid_bool2.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
invalid_char2.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
invalid_enum_discriminant2.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
maybe_null_pointer_deref_zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
maybe_null_pointer_write_zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
memleak_rc.rs no TLS dtor and no leak checks on macOS 2018-08-30 09:41:57 +02:00
memleak.rs no TLS dtor and no leak checks on macOS 2018-08-30 09:41:57 +02:00
modifying_constants.rs update for miri engine: new function handling, new static handling, fixed leaks 2018-08-24 16:45:08 +02:00
never_say_never.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
never_transmute_humans.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
never_transmute_void.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
null_pointer_deref_zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
null_pointer_deref.rs port some tests to check the new error format 2018-07-15 12:00:02 +02:00
null_pointer_write_zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
null_pointer_write.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
out_of_bounds_read2.rs fix test for rustup 2018-09-17 09:18:57 +02:00
out_of_bounds_read.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
overflowing-lsh-neg.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
overflowing-rsh-2.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
overflowing-rsh.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
overflowing-unchecked-rsh.rs check the assumptions made by the unchecked_ and copy_nonoverlapping intrinsics 2017-07-03 20:37:38 -07:00
overwriting_part_of_relocation_makes_the_rest_undefined.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
panic.rs unignore a bunch of tests that actually work 2018-08-30 15:57:17 +02:00
pointer_byte_read_1.rs ptr equality: only defined for ptrs in the same allocation and live ptrs 2018-08-30 10:46:09 +02:00
pointer_byte_read_2.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
pointers_to_different_allocations_are_unorderable.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
ptr_bitops2.rs support computing the remainder of a ptr, if covered by alignment 2018-08-14 20:10:25 +02:00
ptr_bitops.rs ptr equality: only defined for ptrs in the same allocation and live ptrs 2018-08-30 10:46:09 +02:00
ptr_eq_dangling.rs more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them. 2018-09-17 10:02:31 +02:00
ptr_eq_integer.rs more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them. 2018-09-17 10:02:31 +02:00
ptr_eq_out_of_bounds_null.rs more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them. 2018-09-17 10:02:31 +02:00
ptr_eq_out_of_bounds.rs more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them. 2018-09-17 10:02:31 +02:00
ptr_int_cast.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
ptr_offset_int_plus_int.rs only allow offset-by-0 on integer pointers 2018-10-09 20:13:46 +02:00
ptr_offset_int_plus_ptr.rs use Box::into_raw 2018-10-07 10:35:34 +02:00
ptr_offset_ptr_plus_0.rs 0-offset is also not always okay 2018-10-09 20:13:46 +02:00
ptr_rem.rs fix modulo logic 2018-08-14 20:10:25 +02:00
ptr_wrapping_offset_int_plus_ptr.rs use Box::into_raw 2018-10-07 10:35:34 +02:00
reading_half_a_pointer.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
reference_to_packed.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
stack_limit.rs rustup 2018-08-24 19:49:57 +02:00
static_memory_modification2.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
static_memory_modification3.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
static_memory_modification.rs update for miri engine: new function handling, new static handling, fixed leaks 2018-08-24 16:45:08 +02:00
storage_dead_dangling.rs enable validation for compile-fail tests, and add some new ones 2018-10-12 10:54:37 +02:00
transmute_fat2.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
transmute_fat.rs try using types with lower alignment, maybe that helps for Windows 2018-08-14 18:52:13 +02:00
transmute-pair-undef.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
unaligned_ptr_cast2.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
unaligned_ptr_cast_zst.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
unaligned_ptr_cast.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
undefined_byte_read.rs move tests that no longer need MIR out of fullmir 2018-07-12 10:22:23 +02:00
wild_pointer_deref.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00
zst.rs make sure we show error messages even when we cannot show span 2018-07-15 11:40:57 +02:00