]> granicus.if.org Git - clang/commit
Debug Info: Add a testcase for the bug introduced by r259975.
authorAdrian Prantl <aprantl@apple.com>
Fri, 25 Mar 2016 00:20:35 +0000 (00:20 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 25 Mar 2016 00:20:35 +0000 (00:20 +0000)
commit3fc669a306285df6d5dbc0f9bd98eeb5809f84a3
treefceb8870b6e9ec550ebaaadfa4dbf6717c2fe67f
parent04ef11f7ddbf05932ce586ca70ff0a85990fc02d
Debug Info: Add a testcase for the bug introduced by r259975.
In r259975 we rauw'ed the scope of enum declarations without taking into
account that DIBuilder strips out scope references that point to the
DICompileUnit to facilitate type uniquing.

This testcase guards against making the same mistake again.
<rdar://problem/25078246>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264366 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGenCXX/debug-info-enum-class.cpp