about summary refs log tree commit diff
path: root/src/test/run-pass/interior-vec.rs
AgeCommit message (Collapse)AuthorLines
2011-11-16Use attributes for native module ABI and link nameHaitao Li-1/+2
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-10-12all tests passNiko Matsakis-1/+1
2011-10-10Make vectors and strings immediates againMarijn Haverbeke-1/+1
There's no good reason to force them to be spilled anymore. Some pieces of trans become more elegant this way, and less stack allocs and load/stores are needed. Issue #1021
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-1/+1
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-08-29Implement non-internal ivecsMarijn Haverbeke-11/+11
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.
2011-08-20ReformatBrian Anderson-9/+8
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19Remove xfail-pretty directives from working testsBrian Anderson-2/+0
2011-08-16Port the tests to the decl foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-09Change the ivec type syntax to [T].Erick Tryzelaar-2/+2
This preserves the old syntax for now.
2011-08-03Remove all xfail-stage0 directivesBrian Anderson-1/+0
While it is still technically possible to test stage 0, it is not part of any of the main testing rules and maintaining xfail-stage0 is a chore. Nobody should worry about how tests fare in stage0.
2011-08-02Don't pp extra lines after block open when preserving whitespace. Closes #759Brian Anderson-0/+1
2011-07-27Reformat for new syntaxMarijn Haverbeke-18/+18
2011-07-10rt: Remove the _2 prefix from intrinsics; all rust-intrinsics now use ↵Patrick Walton-11/+11
explicit return pointers
2011-07-09rustc: Make rust-intrinsics take an explicit return pointerPatrick Walton-11/+11
2011-06-16rustc: Work around leak when translating interior vectors. Un-XFAIL ↵Patrick Walton-5/+0
interior-vec.rs.
2011-06-16test: Add an interior-vec test case, XFAIL'd for now because of leaks in the ↵Patrick Walton-0/+36
compiler