aboutsummaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/Makefile1
-rw-r--r--src/test/run-pass/generic-drop-glue.rs5
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 6d3b5f1d..c6809443 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -439,6 +439,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
drop-on-ret.rs \
fact.rs \
generic-fn-infer.rs \
+ generic-drop-glue.rs \
hello.rs \
int.rs \
i32-sub.rs \
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);
}