Add unit test for isLayoutIdentical(empty, empty).
authorYaron Keren <yaron.keren@gmail.com>
Tue, 18 Aug 2015 07:59:09 +0000 (07:59 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 18 Aug 2015 07:59:09 +0000 (07:59 +0000)
commit7b18ff7dd264df9675ff607d70315a8dbb370522
tree545e67aece6f7d5baf1e641dc549111807b525bd
parent387ab5afe70eb7b3e60bc7b4ad0332fd5941b971
Add unit test for isLayoutIdentical(empty, empty).
It was previously asserting in Visual C++ debug mode on a null
iterator passed to std::equal.

Test by Hans Wennborg!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245270 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/IR/TypesTest.cpp