view tests/mini/boolexp.d @ 702:353d9d184091

changed uint to unsigned int, thanks Elrood
author Christian Kamm <kamm incasoftware de>
date Mon, 13 Oct 2008 21:08:11 +0200
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);
}