From 58742b7e164613adebd4311705daf4b618a0705d Mon Sep 17 00:00:00 2001 From: Amit Murthy Date: Sat, 20 Feb 2016 16:10:34 +0530 Subject: [PATCH] add test for local variables created after localized vars (#11062) --- test/parallel_exec.jl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/parallel_exec.jl b/test/parallel_exec.jl index 3c69b9df66fab9..c6b95f798e9d1f 100644 --- a/test/parallel_exec.jl +++ b/test/parallel_exec.jl @@ -744,3 +744,15 @@ end # issue #13122 @test remotecall_fetch(identity, workers()[1], C_NULL) === C_NULL + +# issue #11062 +function t11062() + @async x=1 + x = 2 +end + +@test t11062() == 2 + + + +