rust/tests/compile-fail
2019-12-21 11:45:09 +01:00
..
panic fix and expand panic tests 2019-12-02 16:04:31 +01:00
stacked_borrows Rustup to rustc 1.42.0-nightly (9ff30a781 2019-12-21) 2019-12-21 11:45:09 +01:00
validity silence a lint that catches the bug statically 2019-11-07 09:44:00 +01:00
alignment.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
assume.rs fix for latest rustc 2019-08-05 10:45:48 +02:00
atomic_unaligned.rs check that atomics are sufficiently aligned, and add test 2019-08-04 10:30:42 +02:00
cast_box_int_to_fn_ptr.rs review failing compile-fail tests 2019-07-23 23:25:06 +02:00
cast_fn_ptr1.rs where there is 2, there should be 1 2018-11-16 08:53:43 +01: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_int_to_fn_ptr.rs review failing compile-fail tests 2019-07-23 23:25:06 +02:00
copy_null.rs the compile-fail-norustc hack is no longer needed 2019-07-31 15:29:55 +02:00
copy_overlapping.rs more consistent test name 2019-08-03 17:27:50 +02:00
copy_unaligned.rs the compile-fail-norustc hack is no longer needed 2019-07-31 15:29:55 +02:00
ctlz_nonzero.rs adjust error messages in tests 2019-08-03 20:54:57 +02:00
cttz_nonzero.rs adjust error messages in tests 2019-08-03 20:54:57 +02:00
dangling_pointer_deref.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
dangling_zst_deref.rs test dangling ZST deref 2019-08-02 14:26:15 +02:00
deallocate-bad-alignment.rs rustup 2019-04-14 10:30:00 +02:00
deallocate-bad-size.rs rustup 2019-04-14 10:30:00 +02:00
deallocate-twice.rs rustup 2019-04-14 10:30:00 +02:00
deref_fn_ptr.rs fix compile-fail ref files 2019-04-21 13:18:05 +02:00
deref-invalid-ptr.rs adjust tests for eager pointer checks on deref 2019-08-15 11:01:03 +02:00
deref-partially-dangling.rs adjust tests for eager pointer checks on deref 2019-08-15 11:01:03 +02:00
div-by-zero-1.rs Removed copyright notices. 2019-02-26 18:37:45 +00:00
div-by-zero-3.rs test unchecked_rem 2019-06-16 11:10:33 +02:00
double_panic.rs also indicate abort via new MachineStop variant 2019-12-02 09:13:58 +01:00
exact_div1.rs test exact_div UB detection 2019-06-16 11:10:33 +02:00
exact_div2.rs adjust tests 2019-11-03 10:15:55 +01:00
exact_div3.rs bump Rust for exact_div fix 2019-12-03 17:37:42 +01:00
exact_div4.rs test exact_div UB detection 2019-06-16 11:10:33 +02:00
execute_memory.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
fn_ptr_offset.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
generator-pinned-moved.rs add a failing test where an immovable generator gets moved 2019-06-21 21:48:27 +02:00
intptrcast_alignment_check.rs adjust tests for eager pointer checks on deref 2019-08-15 11:01:03 +02:00
invalid_bool.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
invalid_char.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
invalid_enum_discriminant.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
issue-miri-1112.rs add test for sketchy vtable 2019-12-13 13:19:48 +01: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 the test suite assumes a libstd with full MIR; run test suite on xargo-built foreign libstds 2018-12-10 10:04:55 +01:00
memleak.rs no TLS dtor and no leak checks on macOS 2018-08-30 09:41:57 +02:00
modifying_constants.rs fix existing tests 2019-06-02 22:16:02 +02:00
never_say_never.rs the never type got de-stabilized again; adjust tests 2019-12-15 12:23:43 +01:00
never_transmute_humans.rs the never type got de-stabilized again; adjust tests 2019-12-15 12:23:43 +01:00
never_transmute_void.rs the never type got de-stabilized again; adjust tests 2019-12-15 12:23:43 +01:00
null_pointer_deref_zst.rs fix compile-fail ref files 2019-04-21 13:18:05 +02:00
null_pointer_deref.rs fix compile-fail ref files 2019-04-21 13:18:05 +02:00
null_pointer_write_zst.rs fix compile-fail ref files 2019-04-21 13:18:05 +02:00
null_pointer_write.rs fix compile-fail ref files 2019-04-21 13:18:05 +02:00
out_of_bounds_ptr_1.rs fix error pattern 2019-05-27 19:37:31 +02:00
out_of_bounds_ptr_2.rs bump Rust, fix error messages 2019-12-08 01:45:41 +01:00
out_of_bounds_read1.rs where there is 2, there should be 1 2018-11-16 08:53:43 +01:00
out_of_bounds_read2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-unchecked-rsh.rs adjust error messages in tests 2019-08-03 20:54:57 +02:00
overwriting_part_of_relocation_makes_the_rest_undefined.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
pointer_byte_read.rs review failing compile-fail tests 2019-07-23 23:25:06 +02:00
ptr_offset_0_plus_0.rs fix test erorr msg 2019-11-06 09:24:26 +01:00
ptr_offset_int_plus_int.rs review failing compile-fail tests 2019-07-23 23:25:06 +02:00
ptr_offset_int_plus_ptr.rs review failing compile-fail tests 2019-07-23 23:25:06 +02:00
ptr_offset_overflow.rs bump Rust, fix error messages 2019-12-08 01:45:41 +01:00
ptr_offset_ptr_plus_0.rs Removed copyright notices. 2019-02-26 18:37:45 +00:00
rc_as_raw.rs adjust for refactored memory pointer checks 2019-06-23 20:19:26 +02:00
reading_half_a_pointer.rs Removed copyright notices. 2019-02-26 18:37:45 +00:00
reallocate-bad-size.rs rustup 2019-04-14 10:30:00 +02:00
reallocate-change-alloc.rs rustup 2019-04-14 10:30:00 +02:00
reallocate-dangling.rs rustup 2019-04-14 10:30:00 +02:00
reference_to_packed.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
slice-too-big.rs test too big slice 2019-08-31 08:41:55 +02:00
stack_free.rs Rustup to 1.39.0-nightly (1e869133b 2019-09-09) 2019-09-09 13:00:20 +02:00
static_memory_modification1.rs where there is 2, there should be 1 2018-11-16 08:53:43 +01:00
static_memory_modification2.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
static_memory_modification3.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
storage_dead_dangling.rs remove dead code 2019-08-15 11:01:03 +02:00
thread-spawn.rs better error message when the program tries to spawn a thread 2019-07-06 10:07:21 +02:00
transmute_fat1.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
transmute-pair-undef.rs Removed copyright notices. 2019-02-26 18:37:45 +00:00
unaligned_ptr1.rs expand and better explain alignment check tests 2019-06-24 08:40:45 +02:00
unaligned_ptr2.rs expand and better explain alignment check tests 2019-06-24 08:40:45 +02:00
unaligned_ptr3.rs expand and better explain alignment check tests 2019-06-24 08:40:45 +02:00
unaligned_ptr_zst.rs expand and better explain alignment check tests 2019-06-24 08:40:45 +02:00
unchecked_add1.rs implement and test unchecked_{add,sub,mul} intrinsics 2019-06-16 11:10:33 +02:00
unchecked_add2.rs implement and test unchecked_{add,sub,mul} intrinsics 2019-06-16 11:10:33 +02:00
unchecked_mul1.rs implement and test unchecked_{add,sub,mul} intrinsics 2019-06-16 11:10:33 +02:00
unchecked_mul2.rs implement and test unchecked_{add,sub,mul} intrinsics 2019-06-16 11:10:33 +02:00
unchecked_sub1.rs implement and test unchecked_{add,sub,mul} intrinsics 2019-06-16 11:10:33 +02:00
unchecked_sub2.rs implement and test unchecked_{add,sub,mul} intrinsics 2019-06-16 11:10:33 +02:00
undefined_byte_read.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
wild_pointer_deref.rs review failing compile-fail tests 2019-07-23 23:25:06 +02:00
zst1.rs adjust for refactored memory pointer checks 2019-06-23 20:19:26 +02:00
zst2.rs adjust for refactored memory pointer checks 2019-06-23 20:19:26 +02:00
zst3.rs Apply suggestions from code review 2019-06-24 14:50:27 +02:00