summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-function-mocker_nc.cc
blob: d38fe85ef035a935ac3a6c37c18fed3b2e7931d9 (plain)
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
OpenPOWER on IntegriCloud