aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/declstruct/foo.sd
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2022-03-13 08:47:37 +0000
committerArne H Juul <arnej@yahooinc.com>2022-03-13 08:47:37 +0000
commit75c18d52ef575b983496df8bf43a0814c5ac2fb5 (patch)
tree4b10dab576f88a73cb9178b02792b51d04b22267 /config-model/src/test/derived/declstruct/foo.sd
parentb6277402605a1bf57b77ef0753eaa9a9db02cbe6 (diff)
test new-style config similar to inheritdiamond
Diffstat (limited to 'config-model/src/test/derived/declstruct/foo.sd')
-rw-r--r--config-model/src/test/derived/declstruct/foo.sd8
1 files changed, 8 insertions, 0 deletions
diff --git a/config-model/src/test/derived/declstruct/foo.sd b/config-model/src/test/derived/declstruct/foo.sd
new file mode 100644
index 00000000000..6470671f437
--- /dev/null
+++ b/config-model/src/test/derived/declstruct/foo.sd
@@ -0,0 +1,8 @@
+# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search foo {
+ document foo inherits common {
+ struct mystructinfoo {
+ field f1 type string { }
+ }
+ }
+}