diff options
| author | Roy Frostig <[email protected]> | 2010-07-22 17:47:32 -0700 |
|---|---|---|
| committer | Roy Frostig <[email protected]> | 2010-07-22 17:47:32 -0700 |
| commit | 1730d2e037fc41f31d0a90b2fde477f02f0fc798 (patch) | |
| tree | 4e920841841b4cbf35862f3db41db7f688ffffa9 /src/test/run-pass/vec-alloc-append.rs | |
| parent | A certain incomplete quantity of wrestling with "INIT" statements that don't ... (diff) | |
| download | rust-1730d2e037fc41f31d0a90b2fde477f02f0fc798.tar.xz rust-1730d2e037fc41f31d0a90b2fde477f02f0fc798.zip | |
Notify copy glue of dst-initialization and fix _vec.alloc issues in lib and runtime. Closes #109.
Diffstat (limited to 'src/test/run-pass/vec-alloc-append.rs')
| -rw-r--r-- | src/test/run-pass/vec-alloc-append.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/vec-alloc-append.rs b/src/test/run-pass/vec-alloc-append.rs index 2b4a2b20..63d0ee98 100644 --- a/src/test/run-pass/vec-alloc-append.rs +++ b/src/test/run-pass/vec-alloc-append.rs @@ -4,7 +4,9 @@ use std; fn slice[T](vec[T] e) { let vec[T] result = std._vec.alloc[T](uint(1)); + log "alloced"; result += e; + log "appended"; } fn main() { |