| Line | |
|---|
| 1 | module tmp { |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | altstep as_sample0() runs on sampleComponent{ |
|---|
| 5 | var integer a; |
|---|
| 6 | var charstring b; |
|---|
| 7 | []t.timeout{ |
|---|
| 8 | timer xt; |
|---|
| 9 | // var charstring c; |
|---|
| 10 | const integer bx := 2; |
|---|
| 11 | } |
|---|
| 12 | } |
|---|
| 13 | |
|---|
| 14 | function xx () { |
|---|
| 15 | timer t; |
|---|
| 16 | alt { |
|---|
| 17 | []t.timeout { |
|---|
| 18 | timer xt; |
|---|
| 19 | var charstring c; |
|---|
| 20 | |
|---|
| 21 | } |
|---|
| 22 | } |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | testcase tx_00 () runs on sampleComponent { |
|---|
| 26 | var charstring xxx ; |
|---|
| 27 | timer xt |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | type component sampleComponent { |
|---|
| 31 | var integer x; |
|---|
| 32 | const integer cx:=4; |
|---|
| 33 | timer tx; |
|---|
| 34 | } |
|---|
| 35 | |
|---|
| 36 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.