summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/use-before-def.rs
blob: 1ee2b941909f4a6e211df2b168f51563791f4f1d (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
#![allow(non_camel_case_types)]

// Issue #1761

// pretty-expanded FIXME #23616

impl foo for isize { fn foo(&self) -> isize { 10 } }
trait foo { fn foo(&self) -> isize; }
pub fn main() {}