/******************************************************************************
 * Copyright (c) 2000-2021 Ericsson Telecom AB
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
 *
 * Contributors:
 *   Balasko, Jeno
 *   Raduly, Csaba
 *
 ******************************************************************************/
module quitter3Q1S { /* no "In TTCN-3 module" */
//
// A module with three errors. Quit after the first. Context 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//

    /* The message  "Valid fields: i,s" does not appear because
    ** the error limit (1) has been reached */
    
    v_r := 42; /* no error here */
    
    v_r := v_r + 1; /* no error here */
  }
}

