module NC_variables_timers_componentInstances_portInstances {
    //port instances, good and bad
    //also component  data-type definition, bad
    type component comp_1 {
        port port_1 p1, P3
        port port_1 P2
        port port_1 p4
    }
    //timer, variable and component instances in a component, good and bad
    //also component data-type definition, good

    type component Comp_1 {
        timer tc_a1, Tc_a2;
        var integer vc_a, c;
        var integer b := 2, vc_d := 3;
        var integer vc_1e;
        var Comp_12 Cc, bB, Aa;
    }
    //variable, timer and component instances in a function, good and bad	
    //also formal parameters, good
    //also function definition, good

    function f_a3(inout charstring p_c, in template integer p_ti, inout timer p_t, inout port_1 p_p) {
        p_t.start;
        var integer a, v_c;
        var integer b := 2, v_1d := 3;
        var integer v_e;
        var template TypeA vx_ta;
        var Comp_1 Cc, bB, Aa;
        timer t_a1, T_a2;
        t_1.start;
        for (var integer i := 0; i < 10; i := i + 1) {
        }
    }

}