diff options
Diffstat (limited to 'test/input/func_unreachable.py')
-rw-r--r-- | test/input/func_unreachable.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/input/func_unreachable.py b/test/input/func_unreachable.py new file mode 100644 index 0000000..1cabce7 --- /dev/null +++ b/test/input/func_unreachable.py @@ -0,0 +1,22 @@ +"""docstring""" + +__revision__ = '' + +def func1(): + """docstring""" + return 1 + print 'unreachable' + +def func2(): + """docstring""" + while 1: + break + print 'unreachable' + +def func3(): + """docstring""" + for i in (1, 2, 3): + print i + continue + print 'unreachable' + |