view tests/mini/boolexp.d @ 711:eed2de0c67a0

Changed premake script to write target triple to a file, then read that, instead of using popen
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 20 Oct 2008 23:33: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);
}