diff options
| author | Graydon Hoare <[email protected]> | 2010-07-02 12:32:28 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-02 12:32:28 -0700 |
| commit | 74775eff7e0405939ef01a79d07133f8c31142d5 (patch) | |
| tree | a17e38751b8c24e328e0bd96563b055b6143d91a /src | |
| parent | Merge branch 'exterior_and_mutable_types' of [email protected]:graydon/rust into... (diff) | |
| download | rust-74775eff7e0405939ef01a79d07133f8c31142d5.tar.xz rust-74775eff7e0405939ef01a79d07133f8c31142d5.zip | |
Box the args entering the vec-drop test.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/vec-drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/vec-drop.rs b/src/test/run-pass/vec-drop.rs index 267c7a78..fff9a1ee 100644 --- a/src/test/run-pass/vec-drop.rs +++ b/src/test/run-pass/vec-drop.rs @@ -1,4 +1,4 @@ fn main() { // This just tests whether the vec leaks its members. - let vec[@tup(int,int)] pvec = vec(tup(1,2),tup(3,4),tup(5,6)); + let vec[@tup(int,int)] pvec = vec(@tup(1,2),@tup(3,4),@tup(5,6)); } |