summaryrefslogtreecommitdiffstats
path: root/src/spawn/test/dependency/googletest/googlemock/test/gmock-function-mocker_nc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/spawn/test/dependency/googletest/googlemock/test/gmock-function-mocker_nc.cc')
-rw-r--r--src/spawn/test/dependency/googletest/googlemock/test/gmock-function-mocker_nc.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/spawn/test/dependency/googletest/googlemock/test/gmock-function-mocker_nc.cc b/src/spawn/test/dependency/googletest/googlemock/test/gmock-function-mocker_nc.cc
new file mode 100644
index 000000000..d38fe85ef
--- /dev/null
+++ b/src/spawn/test/dependency/googletest/googlemock/test/gmock-function-mocker_nc.cc
@@ -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