diff options
Diffstat (limited to 'tests/langbench/loop.l')
-rw-r--r-- | tests/langbench/loop.l | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/langbench/loop.l b/tests/langbench/loop.l new file mode 100644 index 0000000..f62ff01 --- /dev/null +++ b/tests/langbench/loop.l @@ -0,0 +1,11 @@ +void +doit(int n) +{ + while (n-- > 0); +} + +void +main() +{ + doit(1000000); +} |