diff options
| author | Patrick Walton <[email protected]> | 2011-02-25 15:49:08 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-02-25 15:49:35 -0800 |
| commit | 6c24d0403b2e8fefecc5eea11933d493a01f1daf (patch) | |
| tree | 9aa52ab73cc0c2f2bc9dfbfe4e403c2d742095ae /src/test | |
| parent | Fix typo in crate directive evaluator. (diff) | |
| download | rust-6c24d0403b2e8fefecc5eea11933d493a01f1daf.tar.xz rust-6c24d0403b2e8fefecc5eea11933d493a01f1daf.zip | |
Revert "rustc: Push type parameters down through alt tag patterns; add a test" due to valgrind failures
This reverts commit 7a1d01effcfa5763bc62aefba40f67ad2130d28d.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/generic-tag-box-alt.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/run-pass/generic-tag-box-alt.rs b/src/test/run-pass/generic-tag-box-alt.rs deleted file mode 100644 index 2727885a..00000000 --- a/src/test/run-pass/generic-tag-box-alt.rs +++ /dev/null @@ -1,19 +0,0 @@ -tag foo[T] { - arm(@T); -} - -fn altfoo[T](foo[T] f) { - auto hit = false; - alt (f) { - case (arm[T](?x)) { - log "in arm"; - hit = true; - } - } - check (hit); -} - -fn main() { - altfoo[int](arm[int](@10)); -} - |