From 8af5575f42cd4e95f9284095c14d8aeadb2637a6 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Tue, 22 Sep 2020 10:35:58 -0700 Subject: [PATCH] Extra test --- IDE/Tests/CompileFail001/src/LocalVars.bf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/IDE/Tests/CompileFail001/src/LocalVars.bf b/IDE/Tests/CompileFail001/src/LocalVars.bf index 707d2b2f..2af6cd5b 100644 --- a/IDE/Tests/CompileFail001/src/LocalVars.bf +++ b/IDE/Tests/CompileFail001/src/LocalVars.bf @@ -27,6 +27,20 @@ namespace IDETest b = a; } + public static void If3(out int a) + { + int b = 123; + if (b == 234) + { + a = 1; + } + else + { + a = 2; + return; + } + } + public void For1(out int a) { for (int b < 2)