diff options
Diffstat (limited to 'src/test/ui/consts/const-eval/index_out_of_bounds_propagated.rs')
-rw-r--r-- | src/test/ui/consts/const-eval/index_out_of_bounds_propagated.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/consts/const-eval/index_out_of_bounds_propagated.rs b/src/test/ui/consts/const-eval/index_out_of_bounds_propagated.rs deleted file mode 100644 index 608e6e112..000000000 --- a/src/test/ui/consts/const-eval/index_out_of_bounds_propagated.rs +++ /dev/null @@ -1,6 +0,0 @@ -// build-fail - -fn main() { - let array = [std::env::args().len()]; - array[1]; //~ ERROR operation will panic -} |