612bb8b381331d670958a74f60e9bbbfcc913bff
[smo/teiv.git] /
1 module simple-module {
2
3         namespace "urn:test:simple-module";
4         prefix this;
5
6         description
7         "Copyright (C) 2024 Ericsson
8         Modifications Copyright (C) 2024 OpenInfra Foundation Europe";
9
10         revision 2023-02-27;
11
12         typedef typedef01 {                             // references unknown type but the typedef itself is not used.
13                 type unknown-type;
14         }
15
16         grouping grouping01 {                   // contains wrong statement, but the grouping is never used.
17                 unknown-statement "Hello!";
18         }
19
20         container cont1 {
21
22                 leaf leaf01 {
23                         type string;
24                 }
25
26                 leaf leaf02 {                           // uses unknown type but will be deviated-out.
27                         type unknown-type;
28                 }
29
30                 leaf leaf03 {                           // uses unknown type
31                         type unknown-type;
32                 }
33         }
34
35         deviation /this:cont1/leaf02 {
36                 deviate not-supported;
37         }
38 }