Update README.linux
[deliverable/titan.core.git] / function_test / Semantic_Analyser / options / quitter3Q1S.ttcn
CommitLineData
114d1c9a
EL
1/******************************************************************************
2 * Copyright (c) 2000-2014 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
7 ******************************************************************************/
8module quitter3Q1S { /* no "In TTCN-3 module" */
9//
10// A module with three errors. Quit after the first. Context suppressed.
11//
12 type record R {
13 integer i,
14 charstring s
15 }
16
17 control {
18 var R v_r := { z := true } //^error: Reference to non-existent field `z' in record value for type//
19
20 /* The message "Valid fields: i,s" does not appear because
21 ** the error limit (1) has been reached */
22
23 v_r := 42; /* no error here */
24
25 v_r := v_r + 1; /* no error here */
26 }
27}
28
This page took 0.02387 seconds and 5 git commands to generate.