summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/annotationspolymorphy/annotationspolymorphy.sd
blob: 09b29314666f90ee044c11bf3374f8b780a8dc1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search annotationspolymorphy {

  document annotationspolymorphy {

  annotation super {
  }
  annotation sub inherits super {
  }
  annotation blah {
    field a type annotationreference<super> {}
  }

  }
}