diff --git a/src/test/ui/issues/issue-53275.rs b/src/test/ui/issues/issue-53275.rs new file mode 100644 index 0000000000000..b50a8f6dca08b --- /dev/null +++ b/src/test/ui/issues/issue-53275.rs @@ -0,0 +1,8 @@ +// run-pass + +#![crate_type = "lib"] +struct S(u8); + +pub fn ice() { + S([][0]); +}