Change generic-drop-glue.rs to be meaningful again, and un-XFAIL on rustc.

This commit is contained in:
Graydon Hoare 2011-01-18 17:20:13 -08:00
parent a0aedd14c7
commit e8d266c614
2 changed files with 3 additions and 3 deletions

View file

@ -439,6 +439,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
drop-on-ret.rs \
fact.rs \
generic-fn-infer.rs \
generic-drop-glue.rs \
hello.rs \
int.rs \
i32-sub.rs \

View file

@ -1,9 +1,8 @@
fn f[T](&T t) {
log "dropping";
let T t1 = t;
}
fn main() {
type r = rec(@int x, @int y);
auto x = rec(x=@10, y=@12);
f[r](x);
f(x);
}