aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/generic-drop-glue.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/run-pass/generic-drop-glue.rs b/src/test/run-pass/generic-drop-glue.rs
index 6cf16802..246835e5 100644
--- a/src/test/run-pass/generic-drop-glue.rs
+++ b/src/test/run-pass/generic-drop-glue.rs
@@ -1,9 +1,8 @@
fn f[T](&T t) {
- log "dropping";
+ let T t1 = t;
}
fn main() {
- type r = rec(@int x, @int y);
auto x = rec(x=@10, y=@12);
- f[r](x);
+ f(x);
}