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.2.7, using greater than allowed custom array index on the left hand side of assignments
13 ** @verdict pass reject
14 ***************************************************/
16 // The following requirement is tested:
17 // The index shall not exceed the limitations given by either the length or the
18 // upper bound of the index.
20 module NegSem_060207_arrays_025 {
22 type component GeneralComp {
25 testcase TC_NegSem_060207_arrays_025() runs on GeneralComp {
26 var integer v_arr[2..5] := { 2, 3, 4, 5 };
32 execute(TC_NegSem_060207_arrays_025());