diff options
Diffstat (limited to 'tests/ui/issues/issue-29798.rs')
-rw-r--r-- | tests/ui/issues/issue-29798.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ui/issues/issue-29798.rs b/tests/ui/issues/issue-29798.rs deleted file mode 100644 index 5eff5d191..000000000 --- a/tests/ui/issues/issue-29798.rs +++ /dev/null @@ -1,11 +0,0 @@ -// run-fail -// error-pattern:index out of bounds: the len is 5 but the index is 5 -// ignore-emscripten no processes - -const fn test(x: usize) -> i32 { - [42;5][x] -} - -fn main () { - let _ = test(5); -} |