From 21fe693f3339796b08a259bdc5ca1cc174968810 Mon Sep 17 00:00:00 2001 From: Jakub Zalewski Date: Mon, 15 Jun 2020 11:34:15 +0200 Subject: [PATCH] Add test case from issue 76 --- test/Field/golden/03-issue-76.field | 5 +++++ test/Field/golden/03-issue-76.golden | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 test/Field/golden/03-issue-76.field create mode 100644 test/Field/golden/03-issue-76.golden diff --git a/test/Field/golden/03-issue-76.field b/test/Field/golden/03-issue-76.field new file mode 100644 index 0000000..0b2b75a --- /dev/null +++ b/test/Field/golden/03-issue-76.field @@ -0,0 +1,5 @@ +ext x; +for z = 0 to -1 do + let x = x; +end; +let y = if (0 == x) then 0 else 0; diff --git a/test/Field/golden/03-issue-76.golden b/test/Field/golden/03-issue-76.golden new file mode 100644 index 0000000..9ef715d --- /dev/null +++ b/test/Field/golden/03-issue-76.golden @@ -0,0 +1,2 @@ +ext x; +let y_3 = if (0 == x_0) then 0 else 0;