summary refs log tree commit diff
path: root/src/test/ui/issues/issue-3563-2.rs
blob: 5ab668eed1899e52edd7fefd811b4c3feb2fd6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// build-pass (FIXME(62277): could be 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() {}