diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-11 21:31:36 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-12 13:47:38 -0800 |
| commit | e55aa6e5ef60369710d8b2e6f512b2ef84a8c548 (patch) | |
| tree | fdb6e14395d7b7a95903bcfb6fab91a5fbf02d42 /src/test | |
| parent | f4a3a3b8780d88e013a8916eea6cc9a8c2c5d890 (diff) | |
| download | rust-e55aa6e5ef60369710d8b2e6f512b2ef84a8c548.tar.gz rust-e55aa6e5ef60369710d8b2e6f512b2ef84a8c548.zip | |
free uniq data we encounter on the sweep, walk thru them otherwise
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/uniq-fn-leak.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/uniq-fn-leak.rs b/src/test/run-pass/uniq-fn-leak.rs index 7c9a6e7aca5..adf13c49a1e 100644 --- a/src/test/run-pass/uniq-fn-leak.rs +++ b/src/test/run-pass/uniq-fn-leak.rs @@ -6,12 +6,14 @@ type pointy = { mutable a : maybe_pointy, + c : ~int, d : sendfn()->(), }; fn empty_pointy() -> @pointy { ret @{ mutable a : none, + c : ~22, d : sendfn()->(){}, } } |
