view tests/mini/boolexp.d @ 669:92ec7487a1a0

Fix odd interfaceInfoType bug.
author Christian Kamm <kamm incasoftware de>
date Wed, 08 Oct 2008 20:28:59 +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);
}