aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/build
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nnoble@google.com>2015-02-12 17:08:09 -0800
committerGravatar Nicolas Noble <nnoble@google.com>2015-02-12 17:08:09 -0800
commitd2cfde74b9b3c4c9d3a45cf43fae22b9aa0543fb (patch)
tree52e1defe6d5c56be4fb902d97e61619af7fff93d /test/build
parentc70752af76707208bf16c7e9739e9107fbbf59f9 (diff)
Forgot to add the test file.
Diffstat (limited to 'test/build')
-rw-r--r--test/build/protobuf.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/build/protobuf.cc b/test/build/protobuf.cc
new file mode 100644
index 0000000000..59ead111a6
--- /dev/null
+++ b/test/build/protobuf.cc
@@ -0,0 +1,10 @@
+#include <google/protobuf/descriptor.h>
+#include <google/protobuf/descriptor.pb.h>
+
+bool protobuf_test(const google::protobuf::MethodDescriptor *method) {
+ return method->client_streaming() || method->server_streaming();
+}
+
+int main() {
+ return 0;
+}