Sync with 5.4.0
[deliverable/titan.core.git] / function_test / Semantic_Analyser / xer / namedup1_SE.ttcn
CommitLineData
114d1c9a 1/******************************************************************************
3abe9331 2 * Copyright (c) 2000-2015 Ericsson Telecom AB
114d1c9a
EL
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 namedup1 { //^In TTCN-3 module `namedup1'://
9
10const integer A := 1; //^Previous definition with identifier `A' in higher scope unit is here//
11
12function MyBehaviourA() //^In function definition//
13{
14 var integer A := 1; //^error: Definition with identifier `A' is not unique in the scope hierarchy// \
15 //^Previous definition with identifier `A' in higher scope unit is here//
16
17 while(A > 3) //^In while statement//
18 {
19 const boolean A := true; //^error: Definition with identifier `A' is not unique in the scope hierarchy//
20
21 }
22}
23
24}
This page took 0.035217 seconds and 5 git commands to generate.