From 5559b9ed33db3e88c6576f1a43ce48b123462e8d Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@tavianator.com>
Date: Sun, 17 Sep 2017 12:11:11 -0400
Subject: opt: Fix -depth with arguments bigger than INT_MAX

---
 tests/test_depth_overflow.out | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 tests/test_depth_overflow.out

(limited to 'tests')

diff --git a/tests/test_depth_overflow.out b/tests/test_depth_overflow.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_depth_overflow.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
-- 
cgit v1.2.3