Files
ldc/tests/mini/boolexp.d
Christian Kamm 3506960765 Add tests.
2008-10-07 20:22:04 +02:00

8 lines
133 B
D

bool got() { return true; }
extern(C) int printf(char*, ...);
void main()
{
bool b = true && got();
printf("%d\n", b ? 1 : 0);
}