Tag build swift-2.2.1-SNAPSHOT-2016-03-28-a
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264366 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 3fc669a306285df6d5dbc0f9bd98eeb5809f84a3)
1 file changed