Replace compile-test with preprocessor test

This commit is contained in:
Joshua Cannon
2019-10-11 10:58:59 -05:00
parent d935e8e3ed
commit fe112cfee7
2 changed files with 11 additions and 7 deletions

View File

@@ -656,12 +656,5 @@ TEST(MockMethodMockFunctionTest, MockMethodSizeOverhead) {
EXPECT_EQ(sizeof(MockMethodSizes0), sizeof(MockMethodSizes4));
}
// TODO(thejcannon): This just tests that this will compile, as gmock repeating the
// noexcept specifier isn't supported yet
struct MockUsesNoexceptWithParenthesis
{
MOCK_METHOD(void, func, (), (noexcept(false)));
};
} // namespace gmock_function_mocker_test
} // namespace testing