From 4b97b4e79db70ca4ed6b9026c87858e97e92cc67 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 26 Jul 2010 15:20:13 -0700 Subject: Move the test suite to the "as" form for casts. XFAIL a few tests for LLVM. --- src/test/run-pass/user.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/run-pass/user.rs') diff --git a/src/test/run-pass/user.rs b/src/test/run-pass/user.rs index d432fbeb..e72d0bca 100644 --- a/src/test/run-pass/user.rs +++ b/src/test/run-pass/user.rs @@ -5,10 +5,10 @@ use std (name = "std", uuid = _, ver = _); fn main() { - auto s = std._str.alloc(uint(10)); + auto s = std._str.alloc(10 as uint); s += "hello "; log s; s += "there"; log s; - auto z = std._vec.alloc[int](uint(10)); + auto z = std._vec.alloc[int](10 as uint); } -- cgit v1.2.3