https://github.com/root-project/root
Raw File
Tip revision: a70b5a421674eba71862352aa7296d9ddc4ba9ba authored by Pere Mato on 05 April 2016, 08:24:40 UTC
Update ROOT version files to v5.34/36.
Tip revision: a70b5a4
t627.h
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (root-cint@cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/

#include <stdio.h>

class TGC {
 public:
  float operator()(int x=1) {
    printf("TGC::operator()(%d)\n",x);
    return (float)1.23*x;
  }
};

TGC dx;

TGC& GetDefaultGC() {
  printf("GetDefaultGC()\n");
  return dx;
}

void f(float x) {
  printf("f(x=%g)\n",x);
}
back to top