]>
Commit | Line | Data |
---|---|---|
60c5eb7d | 1 | // check-pass |
c34b1796 AL |
2 | // pretty-expanded FIXME #23616 |
3 | ||
223e47cc | 4 | trait 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 | ||
14 | pub fn main() {} |