view tests/mini/andand.d @ 1118:dde9dbae052a

Make this test a bit more meaningful
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 14 Mar 2009 22:29:31 +0100
parents a719f2ca3e92
children
line wrap: on
line source

bool ok = false;
void f(){ ok = true; } void main() { bool b=true; b && f(); assert(ok); }