dfmt/tests/contracts.d

14 lines
215 B
D

void main(string[] args)
{
struct SomeStruct {
private:
int a; int b;
void doStuff(int q)
in {
assert(q);
} out (result) {}
body
{
writeln(q);
}}}