summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-3878.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-3878.rs')
-rw-r--r--tests/ui/issues/issue-3878.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-3878.rs b/tests/ui/issues/issue-3878.rs
new file mode 100644
index 000000000..6de3405af
--- /dev/null
+++ b/tests/ui/issues/issue-3878.rs
@@ -0,0 +1,9 @@
+// run-pass
+// pretty-expanded FIXME #23616
+
+#![allow(path_statements)]
+
+pub fn main() {
+ let y: Box<_> = Box::new(1);
+ y;
+}