From 530315a220866df8c34c3a3551b4eef949eea23a Mon Sep 17 00:00:00 2001 From: Scott Olson Date: Mon, 21 Mar 2016 18:51:25 -0600 Subject: [PATCH] Add a fat byte-slice coercion test. --- test/strings.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/strings.rs b/test/strings.rs index a442901bb59..7db84d35cd5 100755 --- a/test/strings.rs +++ b/test/strings.rs @@ -15,3 +15,8 @@ fn hello() -> &'static str { fn hello_bytes() -> &'static [u8; 13] { b"Hello, world!" } + +#[miri_run] +fn hello_bytes_fat() -> &'static [u8] { + b"Hello, world!" +} -- 2.44.0