0abdbe5a7d
Former-commit-id: 7467d4b717762eeaf652d77f1486dd11ffb1ff1f
34 lines
460 B
C#
34 lines
460 B
C#
// Compiler options: -langversion:latest
|
|
|
|
using System;
|
|
|
|
public static class B {
|
|
public static void Main ()
|
|
{
|
|
int lo = 1;
|
|
Bar (in lo);
|
|
}
|
|
|
|
public static void Bar (in int arg)
|
|
{
|
|
}
|
|
|
|
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)
|
|
{
|
|
}
|
|
} |