test: Remove obsolete tests. rs=buildbot

This commit is contained in:
Patrick Walton 2012-11-29 15:12:06 -08:00
parent 0a3a2eebfc
commit 2a6c6348b7
2 changed files with 0 additions and 20 deletions

View File

@ -1,9 +0,0 @@
#[forbid(deprecated_mode)];
fn foo(_f: fn(&i: int)) { //~ ERROR by-mutable-reference mode
}
type Bar = fn(&i: int); //~ ERROR by-mutable-reference mode
fn main() {
}

View File

@ -1,11 +0,0 @@
//error-pattern: by-mutable-reference mode
fn bad(&a: int) {
}
fn called(f: fn(&int)) {
}
fn main() {
called(bad);
}