summaryrefslogtreecommitdiffstatshomepage
path: root/tests/internal_bench/func_args-1.1-pos_1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internal_bench/func_args-1.1-pos_1.py')
-rw-r--r--tests/internal_bench/func_args-1.1-pos_1.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/internal_bench/func_args-1.1-pos_1.py b/tests/internal_bench/func_args-1.1-pos_1.py
new file mode 100644
index 0000000000..eee0ea8289
--- /dev/null
+++ b/tests/internal_bench/func_args-1.1-pos_1.py
@@ -0,0 +1,10 @@
+import bench
+
+def func(a):
+ pass
+
+def test(num):
+ for i in iter(range(num)):
+ func(i)
+
+bench.run(test)