diff --git a/test/parse.jl b/test/parse.jl index 3c625c192dc8d..50a6b61f437ae 100644 --- a/test/parse.jl +++ b/test/parse.jl @@ -667,3 +667,6 @@ end let str = "[1] [2]" @test_throws ParseError parse(str) end + +# issue 15896 and PR 15913 +@test_throws ErrorException eval(:(macro test15896(d; y=0) end))