aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass')
-rw-r--r--src/test/run-pass/generic-tag-box-alt.rs19
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));
-}
-