https://github.com/root-project/root
Raw File
Tip revision: 95fc2e46526e0b83122613f3125dc10f8c254e89 authored by Pere Mato on 13 August 2014, 12:06:38 UTC
Correct the problem with -pthread flag when building with CMake. Should fix issue ROOT-6390
Tip revision: 95fc2e4
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