From 076fb31b668b90aba01eb3d09419916c3c909da7 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/parallel_exec.jl b/test/parallel_exec.jl index 3c69b9df66fab..6757f8e0f9254 100644 --- a/test/parallel_exec.jl +++ b/test/parallel_exec.jl @@ -744,3 +744,12 @@ end # issue #13122 @test remotecall_fetch(identity, workers()[1], C_NULL) === C_NULL + +# issue #11062 +function t11062() + @async v11062 = 1 + v11062 = 2 +end + +@test t11062() == 2 +