You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
28
mcs/tests/test-961.cs
Normal file
28
mcs/tests/test-961.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
// Compiler options: -langversion:latest
|
||||
|
||||
using System;
|
||||
|
||||
public static class B {
|
||||
public static void Main ()
|
||||
{
|
||||
}
|
||||
|
||||
static void Foo (this in int src)
|
||||
{
|
||||
D p = (in int a) => {};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
delegate void D (in int arg);
|
||||
|
||||
class M
|
||||
{
|
||||
int this[in int a] { set { } }
|
||||
public static implicit operator string (in M m) => null;
|
||||
public M (in int arg) { }
|
||||
|
||||
public void Test2 (in int arg)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user