cpp: test/enum.cpp does not use typename