[Support] This sanity check in the test only works with certain versions
commit73055ea230a70341a0975fbd3ec731bf77ddfc6a
authorChandler Carruth <chandlerc@gmail.com>
Tue, 3 Jul 2018 07:51:01 +0000 (3 07:51 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 3 Jul 2018 07:51:01 +0000 (3 07:51 +0000)
tree91292759d9349271ec5206747f58e05ff6d83131
parentb3a96721644f650e1cc0492d06609ad27710eb91
[Support] This sanity check in the test only works with certain versions
of libstdc++, not just certain versions of GCC. The original macros
broke when using Clang + libstdc++4.9 sadly.

Sadly, testing for versions of libstdc++ has been extremely problematic
in the past, so I'm just narrowing this down to Windows and when using
libc++ as that seems at least very unlikely to keep build bots broken.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336174 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/TypeTraitsTest.cpp