Commit | Line | Data |
---|---|---|
970ed795 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 | ******************************************************************************/ | |
8 | // Correct syntax but bad semantics | |
9 | ||
10 | module typename_SE | |
11 | { | |
12 | type record length (10) of integer int10; | |
13 | ||
14 | type component C1 | |
15 | { | |
16 | } | |
17 | ||
18 | testcase tc_isbound_const() runs on C1 | |
19 | { | |
20 | if ( isvalue(int10) ) { | |
21 | setverdict(pass); | |
22 | } else { | |
23 | setverdict(fail); | |
24 | } | |
25 | } | |
26 | } |