]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-3563-2.rs
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-3563-2.rs
CommitLineData
60c5eb7d 1// check-pass
c34b1796
AL
2// pretty-expanded FIXME #23616
3
223e47cc 4trait Canvas {
c34b1796
AL
5 fn add_point(&self, point: &isize);
6 fn add_points(&self, shapes: &[isize]) {
85aaf69f 7 for pt in shapes {
223e47cc
LB
8 self.add_point(pt)
9 }
10 }
11
12}
13
14pub fn main() {}