https://github.com/root-project/root
Raw File
Tip revision: 9d1aed171272a4ee709a8c585eee40fbfefbd355 authored by Fons Rademakers on 24 October 2011, 09:50:38 UTC
tag patch release v5-30-03.
Tip revision: 9d1aed1
t1016.h
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (cint@pcroot.cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/

#ifndef __CINT__
#include <stdlib.h>
#include <stdio.h>
#endif //__CINT__
class aaa1 {
 public:
  char c1;
  void fun1(){printf("fun1\n");}
};
class aaa2 {
 public:
  void fun2(){printf("fun2\n");}
  char c2;
};

class aaa 
#if 0
:public aaa1,public aaa2 
#else
:private aaa1,private aaa2 
#endif
{
 public:
  void fun(){printf("fun\n");}
  char c;
};
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ class aaa+;
#pragma link C++ class aaa1+;
#pragma link C++ class aaa2+;
#endif //__CINT__


back to top