diff options
Diffstat (limited to 'src/test/run-pass/vec-drop.rs')
| -rw-r--r-- | src/test/run-pass/vec-drop.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/vec-drop.rs b/src/test/run-pass/vec-drop.rs index 499b24d43f0..9b75d0c2155 100644 --- a/src/test/run-pass/vec-drop.rs +++ b/src/test/run-pass/vec-drop.rs @@ -3,6 +3,6 @@ fn main() { // This just tests whether the vec leaks its members. - let pvec: [@{x: int, y: int}] = - [@{x: 1, y: 2}, @{x: 3, y: 4}, @{x: 5, y: 6}]; + let pvec: [@{x: int, y: int}]/~ = + [@{x: 1, y: 2}, @{x: 3, y: 4}, @{x: 5, y: 6}]/~; } |
