#include "TObject.h"
class junk : public TObject {
junk(){
const Float_t a=1;
const Float_t b=1/a;
}
~junk(){}
};
Of course it compiles without problems. But when rootcint is run I have
the following output:
Error: No symbol a in current scope FILE:bug1.h LINE:6
Error: operator '/' divided by zero FILE:bug1.h LINE:6
Note: operator new() masked 1c
Note: operator delete() masked 1c
Cheers, Fed