Skip to content

Commit

Permalink
Added test for function name that starts with underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Jul 18, 2024
1 parent 6c2e1b9 commit 17aa397
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,3 +543,7 @@ int useExtraFormalInListPattern(f([*int ints])){
}
test bool useExtraFormalInListPattern1() = useExtraFormalInListPattern(f([42])) == 42;
int _f(int n) = n;
test bool functionNameStartsWithUnderscore() = _f(13) == 13;

0 comments on commit 17aa397

Please sign in to comment.