Type safety attributes: add tests for enumerations (users are actually doing
this, ensure we don't regress)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171412 91177308-0d34-0410-b5e6-96231b3b80d8