diff options
Diffstat (limited to 'tests/ui/deref.rs')
-rw-r--r-- | tests/ui/deref.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/deref.rs b/tests/ui/deref.rs new file mode 100644 index 000000000..0d4e08ad9 --- /dev/null +++ b/tests/ui/deref.rs @@ -0,0 +1,7 @@ +// run-pass +// pretty-expanded FIXME #23616 + +pub fn main() { + let x: Box<isize> = Box::new(10); + let _y: isize = *x; +} |