Issue #28257: Backported a test.
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py
index cb2c45e..6860751 100644
--- a/Lib/test/test_extcall.py
+++ b/Lib/test/test_extcall.py
@@ -180,6 +180,11 @@
       ...
     TypeError: h() argument after * must be an iterable, not function
 
+    >>> h(1, *h)
+    Traceback (most recent call last):
+      ...
+    TypeError: h() argument after * must be an iterable, not function
+
     >>> dir(*h)
     Traceback (most recent call last):
       ...