@@ -2789,3 +2789,27 @@ end
2789
2789
@test Core. Compiler. return_type (apply26826, Tuple{typeof (setfield!), Any, Symbol, Vararg{Integer}}) == Integer
2790
2790
@test Core. Compiler. return_type (apply26826, Tuple{typeof (setfield!), Any, Symbol, Integer, Vararg}) == Integer
2791
2791
@test Core. Compiler. return_type (apply26826, Tuple{typeof (setfield!), Any, Symbol, Integer, Any, Vararg}) == Union{}
2792
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (Core. _expr), Vararg}) == Expr
2793
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (Core. _expr), Any, Vararg}) == Expr
2794
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (Core. _expr), Any, Any, Vararg}) == Expr
2795
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (applicable), Vararg}) == Bool
2796
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (applicable), Any, Vararg}) == Bool
2797
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (applicable), Any, Any, Vararg}) == Bool
2798
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (applicable), Any, Any, Any, Vararg}) == Bool
2799
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (getfield), Tuple{Int}, Vararg}) == Int
2800
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (getfield), Tuple{Int}, Any, Vararg}) == Int
2801
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (getfield), Tuple{Int}, Any, Any, Vararg}) == Int
2802
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (getfield), Any, Any, Any, Any, Vararg}) == Union{}
2803
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (fieldtype), Vararg}) == Type
2804
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (fieldtype), Any, Vararg}) == Type
2805
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (fieldtype), Any, Any, Vararg}) == Type
2806
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (fieldtype), Any, Any, Any, Vararg}) == Type
2807
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (fieldtype), Any, Any, Any, Any, Vararg}) == Union{}
2808
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (Core. apply_type), Vararg}) == Type
2809
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (Core. apply_type), Any, Vararg}) == Type
2810
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (Core. apply_type), Any, Any, Vararg}) == Type
2811
+ f_apply_cglobal (args... ) = cglobal (args... )
2812
+ @test Core. Compiler. return_type (f_apply_cglobal, Tuple{Vararg{Type{Int}}}) == Ptr
2813
+ @test Core. Compiler. return_type (f_apply_cglobal, Tuple{Any, Vararg{Type{Int}}}) == Ptr
2814
+ @test Core. Compiler. return_type (f_apply_cglobal, Tuple{Any, Type{Int}, Vararg{Type{Int}}}) == Ptr{Int}
2815
+ @test Core. Compiler. return_type (f_apply_cglobal, Tuple{Any, Type{Int}, Type{Int}, Vararg{Type{Int}}}) == Union{}
0 commit comments