Ticket #5981: TestRedeclared.mo
File TestRedeclared.mo, 350 bytes (added by , 5 years ago) |
---|
Line | |
---|---|
1 | package TestRedeclared |
2 | model M |
3 | parameter Real p = q; |
4 | parameter Real q; |
5 | end M; |
6 | |
7 | model M2 |
8 | extends M(p = s); |
9 | parameter Real s; |
10 | end M2; |
11 | |
12 | model S |
13 | TestIdentical.M2 m2 annotation( |
14 | Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}))); |
15 | end S; |
16 | |
17 | end TestRedeclared; |