rust/src/test/run-pass/use-iface-before-def.rs
2012-02-06 09:56:42 +01:00

5 lines
106 B
Rust

// Issue #1761
impl of foo for int { fn foo() -> int { 10 } }
iface foo { fn foo() -> int; }
fn main() {}