aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-01-18 17:20:13 -0800
committerGraydon Hoare <[email protected]>2011-01-18 17:20:13 -0800
commite8d266c6140434a491f046cee62346cfd7cb4d98 (patch)
treeb664877ec0d7f4bb7459aeecc6c0672eefbe5b2c /src/test
parentTwiddle comment. (diff)
downloadrust-e8d266c6140434a491f046cee62346cfd7cb4d98.tar.xz
rust-e8d266c6140434a491f046cee62346cfd7cb4d98.zip
Change generic-drop-glue.rs to be meaningful again, and un-XFAIL on rustc.
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);
}