mirror of
https://github.com/google/googletest.git
synced 2024-12-31 05:33:02 +08:00
5dab7be70d
Validate spec modifiers. PiperOrigin-RevId: 221810235
17 lines
220 B
C++
17 lines
220 B
C++
#include "gmock/gmock.h"
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#if defined(TEST_MOCK_METHOD_INVALID_CONST_SPEC)
|
|
|
|
struct Base {
|
|
MOCK_METHOD(int, F, (), (onst));
|
|
};
|
|
|
|
#else
|
|
|
|
// Sanity check - this should compile.
|
|
|
|
#endif
|