From 335ccb44510d9ddc5e5e8c0a5987ceb4916070e7 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Fri, 15 Jul 2016 08:38:02 +0100 Subject: [PATCH] tests --- test/core.jl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/core.jl b/test/core.jl index d98db8c25826f9..c5d1b30cb44dad 100644 --- a/test/core.jl +++ b/test/core.jl @@ -4462,3 +4462,11 @@ end f17147(::Tuple) = 1 f17147{N}(::Vararg{Tuple,N}) = 2 @test f17147((), ()) == 2 + +# PR #17393 +for op in (:.==, :.&, :.|, :.≤) + @test parse("a $op b") == Expr(:call, op, :a, :b) +end +for op in (:.=, :.+=) + @test parse("a $op b") == Expr(op, :a, :b) +end