diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2024-10-07 10:28:16 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2024-10-07 16:29:52 +0000 |
| commit | ad7d41ce90a78dea19b6dffe8aad22ce7b9be32f (patch) | |
| tree | 32277982d2df6fbd8d7638ee13667d4457b1983f /tests | |
| parent | 55a22d2a63334e0faff0202b72a31ce832b56125 (diff) | |
Test for issue 23600
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/consts/large-zst-array-77062.rs (renamed from tests/ui/consts/issue-77062-large-zst-array.rs) | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/consts/issue-77062-large-zst-array.rs b/tests/ui/consts/large-zst-array-77062.rs index ef5178fba95..089353d0885 100644 --- a/tests/ui/consts/issue-77062-large-zst-array.rs +++ b/tests/ui/consts/large-zst-array-77062.rs @@ -1,4 +1,5 @@ //@ build-pass +pub static FOO: [(); usize::MAX] = [(); usize::MAX]; fn main() { let _ = &[(); usize::MAX]; |
