Loading 10_constants/Syn_10_Constants_004.ttcn 0 → 100644 +33 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 409 ** @version $Rev: 45 $ ** @purpose 1:10, Define constants in different scopes ** @verdict pass accept, noexecution ***************************************************/ module Syn_10_Constants_004 { type component GeneralComp { timer t; const integer cv_i1 := 10; } const integer c_i1 := 5; altstep a_alt() runs on GeneralComp { const integer cl_j := 12; [] t.timeout { const integer cl_k := 13; } } function f_fn() runs on GeneralComp { const integer cl_i := 2; } testcase tc_testcase() runs on GeneralComp { const integer cl_i := 3; } control { const integer cl_i := 1; } } No newline at end of file Loading
10_constants/Syn_10_Constants_004.ttcn 0 → 100644 +33 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 409 ** @version $Rev: 45 $ ** @purpose 1:10, Define constants in different scopes ** @verdict pass accept, noexecution ***************************************************/ module Syn_10_Constants_004 { type component GeneralComp { timer t; const integer cv_i1 := 10; } const integer c_i1 := 5; altstep a_alt() runs on GeneralComp { const integer cl_j := 12; [] t.timeout { const integer cl_k := 13; } } function f_fn() runs on GeneralComp { const integer cl_i := 2; } testcase tc_testcase() runs on GeneralComp { const integer cl_i := 3; } control { const integer cl_i := 1; } } No newline at end of file