Ticket #1621: testModel.mo
File testModel.mo, 388 bytes (added by , 13 years ago) |
---|
Line | |
---|---|
1 | package testModel |
2 | model modelInner |
3 | parameter typeA param1=typeA.e1; |
4 | type typeA= enumeration(e1, e2, e3); |
5 | parameter Boolean k1=param1 == typeA.e1; |
6 | parameter Boolean k2=param1 == typeA.e2; |
7 | parameter Boolean k3=param1 == typeA.e3; |
8 | end modelInner; |
9 | |
10 | model topModel |
11 | modelInner m(param1=testModel.modelInner.typeA.e2); |
12 | end topModel; |
13 | |
14 | end testModel; |