rust/src/test/compile-fail/no-self-dispatch.rs
Brian Anderson e5e2811bc6 test: Un-xfail some compile-fail tests
Changed a few error patterns to match rustc's errors where it seemed
reasonable.
2011-05-23 23:13:18 -04:00

12 lines
133 B
Rust

// error-pattern: unresolved name
obj oT() {
fn get() -> int {
ret 3;
}
fn foo() {
auto c = get();
}
}
fn main() {
}