NegSem_060204_enumerated_type_and_values_001.ttcn 674 Bytes
Newer Older
urbant's avatar
urbant committed
/***************************************************
 ** @author   STF 487
 ** @version  0.0.1
 ** @purpose  1:6.2.7, not unique identifiers in enumerated type declaration
stancakapost's avatar
stancakapost committed
 ** @verdict  pass reject
urbant's avatar
urbant committed
 ***************************************************/

// The following requirement is tested:
// The identifiers of enumerated values shall be unique within the enumerated type 
// (but do not have to be globally unique) and are consequently visible in the 
// context of the given type only.

module NegSem_060204_enumerated_type_and_values_001 {
urbant's avatar
urbant committed

    type enumerated MyFirstEnumType {
        Monday, Tuesday, Wednesday, Thursday, Friday, Monday
    };
}