From e6bf9b047950094a4ba2a5c37544a58bdb089b65 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Mon, 10 Jun 2024 16:12:13 -0700 Subject: [PATCH] Add regression test for MisleadingIndentation bug. Signed-off-by: Danila Fedorin --- test/chplcheck/MisleadingIndentation.chpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/chplcheck/MisleadingIndentation.chpl b/test/chplcheck/MisleadingIndentation.chpl index 92e3abce8efc..7be23f8276a0 100644 --- a/test/chplcheck/MisleadingIndentation.chpl +++ b/test/chplcheck/MisleadingIndentation.chpl @@ -23,4 +23,9 @@ writeln("second thing"); writeln(i); writeln("second thing"); + proc f() { + for 1..10 do + writeln("Hello, world!"); + var unrelated = "hi"; + } }