aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/structinheritance/bad.sd
blob: b097af5efda40cc356501883ab2caf2d2030b3a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

schema bad {
  document bad {
    struct base {
      field name type string {}
      field year type int {}
    }
    struct onechild inherits base {
      field between type string {}
    }
    struct childtwo inherits onechild {
      field mine type string {}
      field name type string {}
    }
    field f1 type onechild {}
  }
}