/*****************************************************************
 ** @author   STF 548
 ** @version  0.0.1
 ** @purpose  1:27.2, Verify that dot notation in the FreeText part in not possible for display attributes
 ** @verdict  pass reject
 *****************************************************************/

// The following requirement is tested:
// Restriction c
// Dot notation in the FreeText part is allowed for variant attributes only.

module NegSem_2702_the_with_statement_009 {
	type component GeneralComp {
	}

	type record R {
		integer field1
	} with {
		display "RuleA"."Version1";
	}

	testcase TC_NegSem_2702_the_with_statement_009 () runs on GeneralComp {
		var universal charstring v_d := R.display;
		setverdict(pass);
	}

	control{
		execute(TC_NegSem_2702_the_with_statement_009());
	}
}