gmock-function-mocker_nc.cc 220 Bytes
Newer Older
Abseil Team's avatar
Abseil Team committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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