From b2ae317877b419a23fc9eb1c429bbcf6392e2bca Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 29 Jan 2016 19:13:10 -0700 Subject: [PATCH] Seperate out async moves into a separate test --- unittests/move_async.chai | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 unittests/move_async.chai diff --git a/unittests/move_async.chai b/unittests/move_async.chai new file mode 100644 index 0000000..7975a7c --- /dev/null +++ b/unittests/move_async.chai @@ -0,0 +1,17 @@ +load_module("stl_extra") + +auto x = List() +// push_back newly constructed return value that's non-copyable +x.push_front(async(fun(){})) + +// push_front newly constructed return value that's non-copyable +x.push_front(async(fun(){})) + + + +// push_back newly constructed return value that's non-copyable + +var v = [] +v.push_back(async(fun(){})) + +