Added enumtest.cc; compile with . Disproves the claim that the segfault is caused by the long2enum-conversion alone.