rust/tests/run-pass
2019-02-24 08:16:21 +00:00
..
2phase.rs Remove test of two-phase borrows in match 2019-02-24 08:16:21 +00:00
args.rs implement passing arguments to the interpreted program 2019-02-09 20:00:40 +01:00
args.stdout implement passing arguments to the interpreted program 2019-02-09 20:00:40 +01:00
arrays.rs
associated-const.rs update for latest nightly 2017-07-10 13:57:18 -07:00
assume_bug.rs
async-fn.rs fix async-fn test 2019-02-15 09:35:55 +01:00
atomic-access-bool.rs fix tests to avoid deprecated constants 2019-01-28 09:19:56 +01:00
atomic-compare_exchange.rs fix tests to avoid deprecated constants 2019-01-28 09:19:56 +01:00
bad_substs.rs Add regression test for bad substs 2017-03-24 09:03:19 +01:00
binops.rs
bools.rs update for bool/char being checked at binops 2018-08-24 19:18:21 +02:00
box_box_trait.rs no longer run rustc on the tests; instead make sure we actually deny all warnings 2018-07-16 08:39:06 +02:00
box-pair-to-vec.rs implement stdout/stderr on Windows 2018-12-19 12:16:07 +01:00
box-pair-to-vec.stdout 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
btreemap.rs btree is fixed 2018-12-18 18:41:52 +01:00
c_enums.rs
call_drop_on_array_elements.rs Implement Offset like the other binary operators, share code with the intrinsic 2017-06-05 14:19:10 -07:00
call_drop_on_fat_ptr_array_elements.rs
call_drop_on_zst_array_elements.rs remove our array drop glue and use rustc's instead; implement the new Offset and SizeOf operators 2017-06-05 10:06:40 -07:00
call_drop_through_owned_slice.rs whitelist std::ptr::read 2018-10-12 10:40:44 +02:00
call_drop_through_trait_object_rc.rs
call_drop_through_trait_object.rs
calls.rs
cast_fn_ptr_unsafe.rs
cast_fn_ptr.rs improve fn pointer signature check to allow some casts that should be permitted 2017-05-30 10:41:38 -07:00
cast-rfc0401-vtable-kinds.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
catch.rs implement stdout/stderr on Windows 2018-12-19 12:16:07 +01:00
catch.stdout 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
char.rs move some more helpers to rustc 2018-08-30 10:42:18 +02:00
closure-drop.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
closure-field-ty.rs Handle closures in get_field_ty 2017-08-24 13:34:05 +02:00
closures.rs
const-vec-of-fns.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
constants.rs
deriving-associated-types.rs
drop_empty_slice.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
dst-field-align.rs we can enable a bunch of tests for validation again 2017-09-09 11:18:02 +02:00
dst-irrefutable-bind.rs
dst-raw.rs
dst-struct-sole.rs
dst-struct.rs remove a whole lot of unnecessary attributes 2018-12-02 11:26:09 +01:00
enum-nullable-const-null-with-fields.rs
enums.rs
env.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
extern_types.rs small test for extern_type 2018-08-26 15:15:26 +02:00
float_fast_math.rs Implement the fast float math intrinsics. 2017-02-10 05:58:34 -08:00
floats.rs update for memory signedness removal; test some float casts 2018-08-16 11:35:38 +02:00
fn_item_as_closure_trait_object.rs
fn_item_with_args_as_closure_trait_object.rs
fn_item_with_multiple_args_as_closure_trait_object.rs
fn_ptr_as_closure_trait_object.rs
foreign-fn-linkname.rs fix libc feature gate 2018-12-13 20:25:24 +01:00
format.rs test padding in format strings 2019-02-09 15:52:59 +01:00
format.stdout test padding in format strings 2019-02-09 15:52:59 +01:00
from_utf8.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
function_pointers.rs fix ptr comparison test 2019-02-13 10:07:31 +01:00
generator.rs fix generator test case 2019-01-30 11:51:06 +01:00
hashmap.rs typo and comments 2019-02-15 09:35:55 +01:00
heap_system.rs ignore overaligned tests on Windows (because, of course, Windows' API is broken here) 2019-02-13 19:48:26 +01:00
heap.rs ignore overaligned tests on Windows (because, of course, Windows' API is broken here) 2019-02-13 19:48:26 +01:00
hello.rs implement stdout/stderr on Windows 2018-12-19 12:16:07 +01:00
hello.stdout 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
integer-ops.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
intrinsics-integer.rs make tests compatible with 2018 edition 2018-11-20 14:15:14 +01:00
intrinsics-math.rs Implement more float intrinsics 2017-03-14 12:35:38 +01:00
intrinsics.rs reenable an old test 2018-08-14 20:10:25 +02:00
ints.rs
issue-3794.rs implement stdout/stderr on Windows 2018-12-19 12:16:07 +01:00
issue-3794.stdout 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
issue-5917.rs silence some style warning 2017-02-08 15:38:48 +01:00
issue-15063.rs
issue-15080.rs unignore a bunch of tests that actually work 2018-08-30 15:57:17 +02:00
issue-15523-big.rs 1 > -1 2017-02-09 09:43:45 +01:00
issue-17877.rs implement stdout/stderr on Windows 2018-12-19 12:16:07 +01:00
issue-20575.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
issue-23261.rs
issue-26709.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
issue-27901.rs Get some more rustc tests working 2017-08-29 11:58:22 +02:00
issue-29746.rs whitelist std::ptr::read 2018-10-12 10:40:44 +02:00
issue-30530.rs
issue-31267-additional.rs remove a whole lot of unnecessary attributes 2018-12-02 11:26:09 +01:00
issue-33387.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
issue-34571.rs Mir optimizations treat single variant enums as structs 2017-08-29 12:26:20 +02:00
issue-35815.rs fix a failing test 2017-02-09 13:00:38 +01:00
issue-36278-prefix-nesting.rs Update to latest rustc changes 2017-12-05 17:06:03 +01:00
issue-53728.rs test for interestingly aligned field access 2018-09-22 08:45:24 +02:00
issue-miri-184.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
iter.rs fix (un)likely intrinsics 2019-02-09 13:08:23 +01:00
last-use-in-cap-clause.rs
loop-break-value.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
loops.rs
main_fn.rs
many_shr_bor.rs remove a whole lot of unnecessary attributes 2018-12-02 11:26:09 +01:00
match_slice.rs
memchr.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
mir_coercions.rs Adjust tests for funciton pointer changes 2018-12-17 10:12:04 +01:00
mir_fat_ptr.rs
miri-issue-133.rs Add test for #133. 2017-02-10 08:00:28 -08:00
move-arg-2-unique.rs remove a whole lot of unnecessary attributes 2018-12-02 11:26:09 +01:00
move-arg-3-unique.rs remove a whole lot of unnecessary attributes 2018-12-02 11:26:09 +01:00
move-undef-primval.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
multi_arg_closure.rs
negative_discriminant.rs
non_capture_closure_to_fn_ptr.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
observed_local_mut.rs get rid of implicit Raw at bottom of stack; locals get a uniq at their bottom 2018-10-22 18:17:37 +02:00
option_box_transmute_ptr.rs remove memory leak from run-pass test 2017-02-24 10:41:15 +01:00
option_eq.rs
overloaded-calls-simple.rs
packed_static.rs Implement packed statics 2017-08-08 17:09:26 +02:00
packed_struct.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
pointers.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
products.rs
ptr_arith_offset_overflow.rs use as(_mut)_ptr on slices to entirely escape them to raw 2018-10-22 18:51:06 +02:00
ptr_arith_offset.rs fix arith_offset not taking the size of the type into account; test for offset 2017-06-05 14:23:35 -07:00
ptr_int_casts.rs fix casting integers to pointers 2017-07-21 20:02:48 -07:00
ptr_int_ops.rs support computing the remainder of a ptr, if covered by alignment 2018-08-14 20:10:25 +02:00
ptr_offset.rs add test for offseting fn ptr 2018-12-26 16:23:04 +01:00
raw.rs stacked borrows: enforcement at memory accesses 2018-10-17 15:15:53 +02:00
rc.rs actually they should be equal 2019-02-15 09:35:55 +01:00
recursive_static.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
ref-invalid-ptr.rs enable validation per default, but add a flag to disable it and use that for some run-pass tests 2018-10-11 11:24:22 +02:00
refcell.rs fix mutability gap: do not allow shared mutation when creating frozen reference 2018-12-03 09:15:18 +01:00
regions-lifetime-nonfree-late-bound.rs remove a whole lot of unnecessary attributes 2018-12-02 11:26:09 +01:00
regions-mock-trans.rs fix libc feature gate 2018-12-13 20:25:24 +01:00
rfc1623.rs Fix warnings in unit test 2017-03-14 11:14:53 +01:00
rust-lang-org.rs
send-is-not-static-par-for.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
sendable-class.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
simd-intrinsic-generic-elements.rs
slices.rs do not use 'let _', it is strange 2018-11-26 15:31:53 +01:00
small_enum_size_bug.rs
specialization.rs
stacked-borrows.rs add FIXME test for coercing &mut to *const 2018-12-07 18:01:59 +01:00
static_memory_modification.rs test mutating a non-mut static with interior mutability 2018-09-23 09:14:55 +02:00
static_mut.rs fix static mut accidental dealloc or freeze 2017-02-07 19:20:16 +01:00
strings.rs test mutable string slice indexing 2019-02-06 11:47:32 +01:00
subslice_array.rs Fix it 2018-04-13 16:04:57 +02:00
sums.rs remove/fix outdated FIXMEs in tests 2018-12-02 11:14:24 +01:00
tag-align-dyn-u64.rs permit bit-anding in pointer values below the alignment 2017-06-22 14:46:53 -07:00
thread-local.rs fix libc feature gate 2018-12-13 20:25:24 +01:00
threads.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
too-large-primval-write-problem.rs
traits.rs enable test code that passes just fine 2017-07-19 11:38:15 -07:00
transmute_fat.rs add a scary test case 2018-08-14 20:10:25 +02:00
trivial.rs
try-operator-custom.rs
tuple_like_enum_variant_constructor_pointer_opt.rs we can enable a bunch of tests for validation again 2017-09-09 11:18:02 +02:00
tuple_like_enum_variant_constructor_struct_pointer_opt.rs
tuple_like_enum_variant_constructor.rs
tuple_like_struct_constructor.rs
u128.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
union-overwrite.rs Fix unions 2017-06-20 14:28:18 +02:00
union.rs Fix some clippy warnings 2017-06-12 13:56:29 +02:00
unique-send.rs whitelist std::ptr::read 2018-10-12 10:40:44 +02:00
unops.rs some unary operator tests 2018-08-26 20:42:02 +02:00
unsized-tuple-impls.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
validation_lifetime_resolution.rs Update some links 2019-02-23 19:56:29 +09:00
vec-matching-fold.rs remove/fix outdated FIXMEs in tests 2018-12-02 11:14:24 +01:00
vecdeque.rs test VecDeque debug printing 2019-02-15 10:41:12 +01:00
vecdeque.stdout test VecDeque debug printing 2019-02-15 10:41:12 +01:00
vecs.rs More extensive slice and vec tests 2018-11-01 08:58:03 +01:00
write-bytes.rs add write_bytes() test for a larger-than-u128 struct 2017-03-13 20:33:23 -04:00
zero-sized-binary-heap-push.rs Use PrimVal instead of Pointer where applicable 2017-06-20 14:28:19 +02:00
zst_box.rs
zst_variant_drop.rs drop zst fields of null pointer optimized structs and enums 2017-02-24 11:04:13 +01:00
zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00