aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/duplicate_struct/foobar.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/duplicate_struct/foobar.sd')
-rw-r--r--config-model/src/test/derived/duplicate_struct/foobar.sd16
1 files changed, 16 insertions, 0 deletions
diff --git a/config-model/src/test/derived/duplicate_struct/foobar.sd b/config-model/src/test/derived/duplicate_struct/foobar.sd
new file mode 100644
index 00000000000..7ef4fb5dbe1
--- /dev/null
+++ b/config-model/src/test/derived/duplicate_struct/foobar.sd
@@ -0,0 +1,16 @@
+# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+search foobar {
+ document foobar inherits foo {
+ field title type string {
+ indexing: summary | index
+ }
+ }
+
+ struct mystruct {
+ field name type string { }
+ field company type string { }
+ }
+
+}
+