aboutsummaryrefslogtreecommitdiff
path: root/third_party/libprotobuf-mutator/test_fuzzer/imported.proto
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libprotobuf-mutator/test_fuzzer/imported.proto')
-rw-r--r--third_party/libprotobuf-mutator/test_fuzzer/imported.proto17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/libprotobuf-mutator/test_fuzzer/imported.proto b/third_party/libprotobuf-mutator/test_fuzzer/imported.proto
new file mode 100644
index 00000000..f347c366
--- /dev/null
+++ b/third_party/libprotobuf-mutator/test_fuzzer/imported.proto
@@ -0,0 +1,17 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Ensure imported files are handled properly. This file is imported by
+// test_fuzzer_input.proto and imports imported_publicly publicly.
+
+syntax = "proto2";
+option optimize_for = LITE_RUNTIME;
+package lpm_test_fuzzer;
+
+// Test public imported files are handled properly.
+import public "imported_publicly.proto";
+
+message Imported {
+ required ImportedPublicly imported_publicly = 1;
+}