Ticket #4544: test.mos
| File test.mos, 371 bytes (added by , 8 years ago) |
|---|
| Line | |
|---|---|
| 1 | setCommandLineOptions("-g=MetaModelica, -d=gen"); |
| 2 | |
| 3 | loadString(" |
| 4 | function test |
| 5 | output Boolean b; |
| 6 | protected |
| 7 | String s = \"test\"; |
| 8 | Integer i; |
| 9 | algorithm |
| 10 | (b, s) := match s |
| 11 | case \"test\" |
| 12 | then match s |
| 13 | case \"test\" then (true, \"test\"); |
| 14 | end match; |
| 15 | end match; |
| 16 | end test; |
| 17 | "); getErrorString(); |
| 18 | |
| 19 | test(); getErrorString(); |
