Issue #28257: Backported a test.
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py
index 5eea379..420f122 100644
--- a/Lib/test/test_extcall.py
+++ b/Lib/test/test_extcall.py
@@ -233,6 +233,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):
       ...