You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
433 B

module er;
void delegate(ubyte[] a) TSender;
bool delegate(ushort a) TVerifier;
typedef ushort TAddr;
public void delegate(ubyte[] a) TSender;
public bool delegate(ushort a) TVerifier;
public typedef ushort TAddr;
void delegate() dg;
dg = { int y; };
int opApply(int delegate(inout Type [, ...]) dg);
void main()
{
assert( findIf( "bcecg", ( int x ) { return x == 'a'; } ) == 5 );
}