]> granicus.if.org Git - llvm/commit
[UnitTests] Try and pacify gcc-5
authorJames Molloy <jmolloy@google.com>
Sat, 5 Oct 2019 08:57:17 +0000 (08:57 +0000)
committerJames Molloy <jmolloy@google.com>
Sat, 5 Oct 2019 08:57:17 +0000 (08:57 +0000)
commit263faad3ed265bb1a29977019938928e7151c267
tree05fbd972e42f33f4ea74c56ae87e9488e581616d
parentd4dcb7d724a1a8ea19362076c61853182f2104f8
[UnitTests] Try and pacify gcc-5

This looks like a defect in gcc-5 where it chooses a constexpr
constructor from the initializer-list that it considers to be explicit.

I've tried to reproduce but I can't install anything prior to gcc-6 easily
on my system, and that doesn't have the error. So this is speculative
pacification.

Reported by Steven Wan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373820 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/TableGen/AutomataTest.cpp