From ac0d83ef98299ba5887e32a312ed65d9b80a728f Mon Sep 17 00:00:00 2001 From: David Mak Date: Tue, 9 Jul 2024 14:48:30 +0800 Subject: [PATCH] standalone: Add vararg.py --- nac3standalone/demo/src/vararg.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nac3standalone/demo/src/vararg.py diff --git a/nac3standalone/demo/src/vararg.py b/nac3standalone/demo/src/vararg.py new file mode 100644 index 00000000..4adcde23 --- /dev/null +++ b/nac3standalone/demo/src/vararg.py @@ -0,0 +1,11 @@ +def f(*args: int32): + pass + + +def run() -> int32: + f() + f(1) + f(1, 2) + f(1, 2, 3) + + return 0