2018-08-07 15:19:03 +00:00
|
|
|
// Compiler options: -langversion:latest
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
public static class B {
|
|
|
|
public static void Main ()
|
2018-10-09 08:20:59 +00:00
|
|
|
{
|
|
|
|
int lo = 1;
|
|
|
|
Bar (in lo);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void Bar (in int arg)
|
2018-08-07 15:19:03 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|