summaryrefslogtreecommitdiffstats
path: root/tests/ui/underscore-method-after-integer.rs
blob: 7fb8607f97da34473f1263f2da4bdbb7d8102549 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass

trait Tr : Sized {
    fn _method_on_numbers(self) {}
}

impl Tr for i32 {}

fn main() {
    42._method_on_numbers();
}