aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/badstruct.sd
blob: 223c8e9b983c43a17bb457ec2a2330081822c673 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search foo {

  struct int {
    field f type float {}
  }

  document foo {
    field i type int {}
  }
}