/***************************************************
 ** @author   STF 470
 ** @version  0.0.1
 ** @purpose  1:10, A value is assigned only once to a constant
 ** @verdict  pass reject
 ***************************************************/
module NegSem_10_Constants_002 {

    const float c_i := 3.14;


    type component GeneralComp {}

    testcase TC_NegSem_10_Constants_002() runs on GeneralComp {
        c_i := 3.15; //error because value is assigned only once to the constant
    }

    control{
        execute(TC_NegSem_10_Constants_002());
    }
}