From 5e22afce41de8c87071d8fc149a6ba3cd8762819 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 11 Oct 2016 12:30:32 +1100 Subject: tests: Improve test coverage of py/compile.c. --- tests/micropython/viper_args.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/micropython') diff --git a/tests/micropython/viper_args.py b/tests/micropython/viper_args.py index ca2a5e670..2aebe1b04 100644 --- a/tests/micropython/viper_args.py +++ b/tests/micropython/viper_args.py @@ -26,3 +26,11 @@ def f4(x1:int, x2:int, x3:int, x4:int): f4(1, 2, 3, 4) # only up to 4 arguments currently supported + +# test compiling *x, **x, * args (currently unsupported at runtime) +@micropython.viper +def f(*x, **y): + pass +@micropython.viper +def f(*): + pass -- cgit v1.2.3