1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * Adrien Kirjak – initial implementation
12 ** @purpose 1:6.1.2.5, Assign quadruple values to pattern restricted character strings.
13 ** @verdict pass reject, noexecution
14 ***************************************************/
16 module NegSyn_06010205_StringPattern_002 {
17 type charstring MyString (pattern "\q{0,0,1,116}abc"); //error: not a legal character for the TTCN 3 charstring type
20 type component GeneralComp {}
22 testcase TC_NegSyn_06010205_StringPattern_002() runs on GeneralComp {
23 var MyString v_c := "Å´abc"; //error: not a legal character of the TTCN 3 charstring type
27 execute(TC_NegSyn_06010205_StringPattern_002());