Add failing test for tag-leaking case.

This commit is contained in:
Graydon Hoare 2011-03-10 14:15:02 -08:00
parent 36b81abf61
commit 5f29988a2c
2 changed files with 10 additions and 0 deletions

View file

@ -414,6 +414,7 @@ TEST_XFAILS_BOOT := $(TASK_XFAILS) \
test/run-pass/generic-fn-box.rs \
test/run-pass/generic-tup.rs \
test/run-pass/iter-ret.rs \
test/run-pass/leak-tag-copy.rs \
test/run-pass/lib-io.rs \
test/run-pass/mlist-cycle.rs \
test/run-pass/obj-as.rs \

View file

@ -0,0 +1,9 @@
tag t {
a;
b(@int);
}
fn main() {
auto x = b(@10);
x = a;
}