Have alt-pattern drop the slots it initializes when binding slot patterns. Add a testcase for this as well.

This commit is contained in:
Roy Frostig 2010-08-27 13:27:28 -07:00
parent 1428b59a19
commit 5e77e784f0
3 changed files with 55 additions and 10 deletions

View file

@ -425,6 +425,7 @@ TEST_XFAILS_LLVM := $(TASK_XFAILS) \
$(addprefix test/run-pass/, \
arith-1.rs \
acyclic-unwind.rs \
alt-pattern-drop.rs \
alt-pattern-simple.rs \
alt-tag.rs \
append-units.rs \