In Fuchsia, all tests in a directory, ie stdlib, are linked
into one executable, this causes problems for multiple
definitions of the vtables of the div tests because their
class has the same name. This patch just trivially changes
their name to be unique between all div tests.
Differential revision: https://reviews.llvm.org/
D129248
#define LIST_DIV_TESTS(IntType, ReturnType, func) \
using LlvmLibcDivTest = DivTest<IntType, ReturnType>; \
- TEST_F(LlvmLibcDivTest, SimpleTest) { simpleTest(func); }
+ TEST_F(LlvmLibcDivTest, SimpleTest##ReturnType) { simpleTest(func); }