summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/structanyorder/structanyorder.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/structanyorder/structanyorder.sd')
-rwxr-xr-xconfig-model/src/test/derived/structanyorder/structanyorder.sd27
1 files changed, 27 insertions, 0 deletions
diff --git a/config-model/src/test/derived/structanyorder/structanyorder.sd b/config-model/src/test/derived/structanyorder/structanyorder.sd
new file mode 100755
index 00000000000..418c0985062
--- /dev/null
+++ b/config-model/src/test/derived/structanyorder/structanyorder.sd
@@ -0,0 +1,27 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search annotationsimplicitstruct {
+
+ document annotationsimplicitstruct {
+ field structfield type sct {
+ }
+
+ field structarrayfield type array<sct> {
+ }
+
+ annotation banana {
+ field b type sct { }
+ field c type foo { }
+ }
+
+ struct sct {
+ field s1 type string {}
+ field s2 type string {}
+ field s3 type sct {}
+ field s4 type foo {}
+ }
+
+ struct foo {
+ field s1 type int {}
+ }
+ }
+}