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