@@ -2776,3 +2776,16 @@ for badf in [getfield_const_typename_bad1, getfield_const_typename_bad2]
2776
2776
@test code[end ] === Core. ReturnNode ()
2777
2777
@test_throws TypeError badf ()
2778
2778
end
2779
+
2780
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (sizeof), Vararg{DataType}}) == Int
2781
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (sizeof), DataType, Vararg}) == Int
2782
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (sizeof), DataType, Any, Vararg}) == Union{}
2783
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (=== ), Vararg}) == Bool
2784
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (=== ), Any, Vararg}) == Bool
2785
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (=== ), Any, Any, Vararg}) == Bool
2786
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (=== ), Any, Any, Any, Vararg}) == Union{}
2787
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (setfield!), Vararg{Symbol}}) == Symbol
2788
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (setfield!), Any, Vararg{Symbol}}) == Symbol
2789
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (setfield!), Any, Symbol, Vararg{Integer}}) == Integer
2790
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (setfield!), Any, Symbol, Integer, Vararg}) == Integer
2791
+ @test Core. Compiler. return_type (apply26826, Tuple{typeof (setfield!), Any, Symbol, Integer, Any, Vararg}) == Union{}
0 commit comments