aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/structoutsideofdocument.sd
blob: 77bb322481677e88ac598edb16a1a3671c0908c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search structoutsideofdocument {
  
  # (will fail with old parser)
  
  struct nalle {
    field foo type int {}
  }

  document {

   field nallestruct type array<nalle> {
     indexing: summary
   }
  }

}