From b7151c1ef96df8d54cf817edb83613afee0a8dc3 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 6 Aug 2014 23:34:23 +0200 Subject: [PATCH] add a first flow analysis test --- test/completion/flow_analysis.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/completion/flow_analysis.py diff --git a/test/completion/flow_analysis.py b/test/completion/flow_analysis.py new file mode 100644 index 00000000..17f1e272 --- /dev/null +++ b/test/completion/flow_analysis.py @@ -0,0 +1,8 @@ +def foo(x): + if 1.0: + return 1 + else: + return '' + +#? int() +foo(1)