PR18044: Reject declarations of enumtype::X early to avoid an assertion in
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 25 Nov 2013 21:30:29 +0000 (21:30 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 25 Nov 2013 21:30:29 +0000 (21:30 +0000)
commitc7ca1ee4db7b48b86f96307f663fd8f13b022bd5
treee9c70b898be1228fc9824047963fd6799fbe3937
parentd677fd5da796d80d2346d04141fe45ec4a5850a5
PR18044: Reject declarations of enumtype::X early to avoid an assertion in
downstream code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195687 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/enum-scoped.cpp