Skip to content

Commit 28021d6

Browse files
committed
C#: Add test for local function in lambda
1 parent 6c87d75 commit 28021d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/ql/test/library-tests/csharp7/CSharp7.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ int f8()
148148
return f9(1);
149149
}
150150

151-
{
151+
Action a = () => {
152152
int f9() => 0;
153-
}
153+
};
154154

155155
return f1(2);
156156
}

0 commit comments

Comments
 (0)