summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-3563-2.rs
blob: 88a449b85b86a5a37abfa348e958f01c09e9be95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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() {}