From f1188f7afe28ae1450faf196da56845af116bf3d Mon Sep 17 00:00:00 2001 From: Ryan Levick Date: Fri, 20 Mar 2020 18:37:57 +0100 Subject: [PATCH] Add test for issue #53275 --- src/test/ui/issues/issue-53275.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/test/ui/issues/issue-53275.rs 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]); +}