1
Fork 0

test: Add a dvec indexing operator test, which serves as a test for #2615 (cross-crate operator overloading).

This commit is contained in:
Patrick Walton 2012-08-06 21:30:57 -07:00
parent f3b2296ee4
commit 6a7c714df6

View file

@ -0,0 +1,6 @@
fn main() {
let x = dvec::dvec();
x.push(1);
io::println(fmt!("%d", x[0]));
}