aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/generic-tag-alt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/generic-tag-alt.rs b/src/test/run-pass/generic-tag-alt.rs
index 302096fb..1f4c5465 100644
--- a/src/test/run-pass/generic-tag-alt.rs
+++ b/src/test/run-pass/generic-tag-alt.rs
@@ -3,7 +3,7 @@ type foo[T] = tag(arm(T));
fn altfoo[T](foo[T] f) {
auto hit = false;
alt (f) {
- case (arm(x)) {
+ case (arm[T](x)) {
log "in arm";
hit = true;
}