https://github.com/root-project/root
Raw File
Tip revision: 9dabd5d670491852222a38d1d7449a435944581b authored by Pere Mato on 20 February 2015, 12:18:30 UTC
Update ROOT version files to v5.34/26.
Tip revision: 9dabd5d
t1004.cxx
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (root-cint@cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/
#include <stdio.h>

int main() {
  bool b[3] = {true,false,true};
  for(int i=0;i<3;i++) printf("bool b[%d]=%d\n",i,b[i]);
  return 0;
}
back to top