/*****************************************************************
 ** @author   STF 409
 ** @version  0.0.1
 ** @purpose  1:7.2, Ensure that the IUT correctly handles field referencing
 ** @verdict  pass accept, ttcn3verdict:pass
 *****************************************************************/

module Sem_0702_FieldReferencesAndListElements_001 {

type component GeneralComp {
}

type record MyRecord1 {
	integer      field1,
	charstring   field2
}

testcase TC_Sem_0702_FieldReferencesAndListElements_001() runs on GeneralComp {
	var MyRecord1 v_test := {1, "Hello World!"};

	if ( match(v_test, {1, "Hello World!"})) {
		setverdict(pass);
	} else {
		setverdict(fail);
	}
}

control{
    execute(TC_Sem_0702_FieldReferencesAndListElements_001());
}

}
