Skip to content

Commit

Permalink
Add regression test for MisleadingIndentation bug.
Browse files Browse the repository at this point in the history
Signed-off-by: Danila Fedorin <daniel.fedorin@hpe.com>
  • Loading branch information
DanilaFe committed Jun 10, 2024
1 parent 403f863 commit e6bf9b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/chplcheck/MisleadingIndentation.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ writeln("second thing");
writeln(i);
writeln("second thing");

proc f() {
for 1..10 do
writeln("Hello, world!");
var unrelated = "hi";
}
}

0 comments on commit e6bf9b0

Please sign in to comment.