rust/tests/compile-fail
2018-10-22 08:41:01 +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 don't use NOTE in tests 2018-10-19 12:29:49 +02:00
assume.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
bitop-beyond-alignment.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
cast_box_int_to_fn_ptr.rs don't use NOTE in tests 2018-10-19 12:29:49 +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
cast_fn_ptr_unsafe.rs
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 don't use NOTE in tests 2018-10-19 12:29:49 +02:00
copy_nonoverlapping.rs
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 don't use NOTE in tests 2018-10-19 12:29:49 +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 don't use NOTE in tests 2018-10-19 12:29:49 +02:00
div-by-zero.rs
execute_memory.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
fn_ptr_offset.rs don't use NOTE in tests 2018-10-19 12:29:49 +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 don't use NOTE in tests 2018-10-19 12:29:49 +02:00
never_say_never.rs don't use NOTE in tests 2018-10-19 12:29:49 +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 don't use NOTE in tests 2018-10-19 12:29:49 +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 don't use NOTE in tests 2018-10-19 12:29:49 +02:00
out_of_bounds_read.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-lsh-neg.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-rsh-2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-rsh.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-unchecked-rsh.rs
overwriting_part_of_relocation_makes_the_rest_undefined.rs don't use NOTE in tests 2018-10-19 12:29:49 +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 don't use NOTE in tests 2018-10-19 12:29:49 +02:00
pointers_to_different_allocations_are_unorderable.rs don't use NOTE in tests 2018-10-19 12:29:49 +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 don't use NOTE in tests 2018-10-19 12:29:49 +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 don't use NOTE in tests 2018-10-19 12:29:49 +02:00
reference_to_packed.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
stack_limit.rs rustup 2018-08-24 19:49:57 +02:00
static_memory_modification2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
static_memory_modification3.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
static_memory_modification.rs don't use NOTE in tests 2018-10-19 12:29:49 +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 don't use NOTE in tests 2018-10-19 12:29:49 +02:00
transmute_fat.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
transmute-pair-undef.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
unaligned_ptr_cast2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
unaligned_ptr_cast_zst.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
unaligned_ptr_cast.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
undefined_byte_read.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
wild_pointer_deref.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
zst.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00