view tests/mini/boolexp.d @ 1448:e92e14690a4f

change mingw32 versioning to version(Windows)
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Sun, 31 May 2009 11:20:26 -0600
parents 216b14b9a773
children
line wrap: on
line source

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