Googletest export
Validate spec modifiers. PiperOrigin-RevId: 221810235
This commit is contained in:
committed by
Gennadiy Civil
parent
45d66d81be
commit
5dab7be70d
16
googlemock/test/gmock-function-mocker_nc.cc
Normal file
16
googlemock/test/gmock-function-mocker_nc.cc
Normal file
@@ -0,0 +1,16 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user