Skip to content

Commit b2fe5fd

Browse files
committed
---
yaml --- r: 285 b: refs/heads/master c: f300ca4 h: refs/heads/master i: 283: 4220462 v: v3
1 parent b250fcc commit b2fe5fd

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: c96f0bf7386081d21b00af4fa7fcf73ac8d79575
2+
refs/heads/master: f300ca4ed7dd967b43c965417a8091dbc444cb82

trunk/src/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ MUT_BOX_XFAILS := $(addprefix test/run-pass/, \
347347
TEST_XFAILS_X86 := $(MUT_BOX_XFAILS) \
348348
test/run-pass/mlist-cycle.rs \
349349
test/run-pass/clone-with-exterior.rs \
350+
test/run-pass/destructor-ordering.rs \
350351
test/run-pass/obj-as.rs \
351352
test/run-pass/rec-auto.rs \
352353
test/run-pass/vec-slice.rs \
@@ -356,6 +357,7 @@ TEST_XFAILS_X86 := $(MUT_BOX_XFAILS) \
356357
test/run-pass/generic-recursive-tag.rs \
357358
test/run-pass/mutable-vec-drop.rs \
358359
test/run-pass/bind-obj-ctor.rs \
360+
test/run-pass/vec-alloc-append.rs \
359361
test/run-pass/task-comm.rs \
360362
test/compile-fail/rec-missing-fields.rs \
361363
test/compile-fail/bad-send.rs \
@@ -466,6 +468,7 @@ TEST_XFAILS_LLVM := $(addprefix test/run-pass/, \
466468
use-import-export.rs \
467469
use-uninit.rs \
468470
utf8.rs \
471+
vec-alloc-append.rs \
469472
vec-append.rs \
470473
vec-concat.rs \
471474
vec-drop.rs \
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// This is a test for issue #109.
2+
3+
use std;
4+
5+
fn slice[T](vec[T] e) {
6+
let vec[T] result = std._vec.alloc[T](uint(1));
7+
result += e;
8+
}
9+
10+
fn main() {
11+
slice[str](vec("a"));
12+
}

0 commit comments

Comments
 (0)