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