summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unique/unique-drop-complex.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/unique/unique-drop-complex.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/unique/unique-drop-complex.rs b/src/test/ui/unique/unique-drop-complex.rs
new file mode 100644
index 000000000..2324f1e1a
--- /dev/null
+++ b/src/test/ui/unique/unique-drop-complex.rs
@@ -0,0 +1,6 @@
+// run-pass
+// pretty-expanded FIXME #23616
+
+pub fn main() {
+ let _x: Box<_> = Box::new(vec![0,0,0,0,0]);
+}