view tests/mini/boolexp.d @ 1528:15f1707721fa

Updated default ldc2 configuration file.
author Robert Clipsham <robert@octarineparrot.com>
date Thu, 09 Jul 2009 21:13:19 +0100
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);
}