/****************************************************************************** * Copyright (c) 2000-2014 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ******************************************************************************/ module quitter3S { /* no "In TTCN-3 module" */ // // A module with three errors, context messages suppressed // type record R { integer i, charstring s } control { var R v_r := { z := true } //^error: Reference to non-existent field `z' in record value for type// \ //^Valid fields: i,s$// v_r := 42; //^error: Record value was expected for type// v_r := v_r + 1; //^error: First operand of operation `\+' should be integer or float value$// \ //^error: The operands of operation *`\+' should be of same type$// } }