]> git.lizzy.rs Git - rust.git/commit
Add tests for once functions (#2549).
authorBen Blum <bblum@andrew.cmu.edu>
Mon, 17 Jun 2013 23:25:06 +0000 (19:25 -0400)
committerBen Blum <bblum@andrew.cmu.edu>
Wed, 19 Jun 2013 18:25:51 +0000 (14:25 -0400)
commitc1f037e6ac75e05e6bc3f05ec6cab9de8c971e81
treecdd24b2fb8fad0e7e614638da766a4bb71d75f61
parent1496216db6e0ab266df6dcbda31d9fab495afcf9
Add tests for once functions (#2549).
src/test/compile-fail/once-cant-call-twice-on-heap.rs [new file with mode: 0644]
src/test/compile-fail/once-cant-call-twice-on-stack.rs [new file with mode: 0644]
src/test/compile-fail/once-cant-copy-stack-once-fn-copy.rs [new file with mode: 0644]
src/test/compile-fail/once-cant-move-out-of-non-once-on-heap.rs [new file with mode: 0644]
src/test/compile-fail/once-cant-move-out-of-non-once-on-stack.rs [new file with mode: 0644]
src/test/run-pass/once-move-out-on-heap.rs [new file with mode: 0644]
src/test/run-pass/once-move-out-on-stack.rs [new file with mode: 0644]