forked from M-Labs/nac3
standalone: Add vararg.py
This commit is contained in:
parent
3ff6db1a29
commit
ac0d83ef98
|
@ -0,0 +1,11 @@
|
|||
def f(*args: int32):
|
||||
pass
|
||||
|
||||
|
||||
def run() -> int32:
|
||||
f()
|
||||
f(1)
|
||||
f(1, 2)
|
||||
f(1, 2, 3)
|
||||
|
||||
return 0
|
Loading…
Reference in New Issue