summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-3563-2.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-3563-2.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-3563-2.rs b/src/test/ui/issues/issue-3563-2.rs
new file mode 100644
index 000000000..88a449b85
--- /dev/null
+++ b/src/test/ui/issues/issue-3563-2.rs
@@ -0,0 +1,14 @@
+// check-pass
+// pretty-expanded FIXME #23616
+
+trait Canvas {
+ fn add_point(&self, point: &isize);
+ fn add_points(&self, shapes: &[isize]) {
+ for pt in shapes {
+ self.add_point(pt)
+ }
+ }
+
+}
+
+pub fn main() {}