diff --git a/test/reflection.jl b/test/reflection.jl index 35bd8ddc831c3..7d94556c3209f 100644 --- a/test/reflection.jl +++ b/test/reflection.jl @@ -553,3 +553,11 @@ let @test length(a) == 0 @test length(b) == 0 end + +# Adds test for Issue #15924 +let + a = @code_lowered sin(1.0) + @test isa(a, LambdaInfo) + b = Base.uncompressed_ast(a) + @test length(b) == 4 +end