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"; + } }