since ROOT 6 (this is with heads/master@v6-00-01-986-gad2282d), the following:
leads to a segfault with ugly backtrace into cling.
"TestObj::kAnswerGood" is an enum value. As the crash of course happens inside a more complex example (in our software, this is used for bitmasking calibration steps), I have attached a minimal example leading to this issue, a "make && ./mgettest" is sufficient to trigger the stacktrace.
If you want, I can also attach this full backtrace, but I guess you are faster triggering this in your local dev-environment .